Example #1
0
 private void Start()
 {
     if (CountOnStart)
     {
         co = CoRef.StartCoroutineAway(InvokeAfterCO(secounds));
     }
 }
Example #2
0
 private void OnEnable()
 {
     if (CountOnEnable)
     {
         co = CoRef.StartCoroutineAway(InvokeAfterCO(secounds));
     }
 }
Example #3
0
 public void ManualStart(float secounds)
 {
     ManualStop();
     co = CoRef.StartCoroutineAway(InvokeAfterCO(secounds));
 }
Example #4
0
 public static Coroutine InvokeAfterDelay(float delay, Action callback)
 {
     return(CoRef.StartCoroutineAway(_WaitForSeconds(delay, callback)));
 }
Example #5
0
 public static Coroutine InvokeWhen(Action callback, Func <bool> predect)
 {
     return(CoRef.StartCoroutineAway(_WaitUntil(callback, predect)));
 }
Example #6
0
 public static Coroutine InvokeEndOfFrame(Action callback)
 {
     return(CoRef.StartCoroutineAway(_WaitForEndOfFrame(callback)));
 }