A powerful Schedule One Mono / Il2Cpp Cross Compatibility Layer for seamless game development
public class JohnDoe : NPC
{
protected override string FirstName => "John";
protected override string LastName => "Doe";
private bool _hasIntroduced = false;
private Log _logger = new Log("JohnDoe");
public JohnDoe() : base("johndoe", "John", "Doe")
{
TimeManager.OnDayPass += OnDayPass;
_logger.Msg("NPC Created");
}
private void OnDayPass()
{
if (!_hasIntroduced)
{
SendTextMessage("Hello, I'm John! Nice to meet you.");
_hasIntroduced = true;
}
}
}
S1API provides a robust cross-compatibility layer between Mono and Il2Cpp with powerful capabilities
Get started with our comprehensive guide and documentation