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