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