예제 #1
0
 public static void AfterSeconds(float time, Action callback)
 {
     CoroutineHelper.StartCoroutine(StartWaitingSeconds(time, callback));
 }
예제 #2
0
 /// <summary>
 ///     Waits while condition is true
 ///     If timed out, callback will be invoked with false
 /// </summary>
 public static void WaitWhile(Func <bool> condiction, DoneHandler doneCallback, float timeoutSeconds)
 {
     CoroutineHelper.StartCoroutine(WaitWhileTrueCoroutine(condiction, doneCallback, timeoutSeconds));
 }
예제 #3
0
 public static void StartServices()
 {
     LTime.DoStart();
     CoroutineHelper.DoStart();
 }
예제 #4
0
 public static void DoStart()
 {
     _mainThreadActions = new List <Action>();
     CoroutineHelper.StartCoroutine(StartTicker());
 }
예제 #5
0
 public static void UpdateServices()
 {
     LTime.DoUpdate();
     CoroutineHelper.DoUpdate();
 }