public static Timer StartNextFrame(TimerScheduler.Callback callback) { if (TimerScheduler.IsInitialized) { return(TimerScheduler.Instance.StartTimer(0.0f, callback, false, true)); } return(Invalid); }
public static Timer Start(float timeSeconds, TimerScheduler.Callback callback, bool loop = false) { if (TimerScheduler.IsInitialized) { return(TimerScheduler.Instance.StartTimer(timeSeconds, callback, loop)); } return(Invalid); }