public static void StopCoroutine(this NewCoroutine coroutine) { if (MonoUtils == null) { return; } coroutine.IsRunning = false; MonoUtils.StopCoroutine(coroutine.GetNewCoroutine()); }
public static void StartCoroutine(this NewCoroutine coroutine) { SetMono(); if (MonoUtils == null) { return; } coroutine.IsRunning = true; MonoUtils.StartCoroutine(coroutine.GetNewCoroutine()); }
public static bool IsCompleteOrEnd(this NewCoroutine coroutine) { return(!coroutine.IsRunning); }