static public void CancelWait(ref Coroutine coroutine) { if (coroutine != null) { m_Task.StopCoroutine(coroutine); coroutine = null; } }
// 终止协程 public static void StopCoroutine(ref Coroutine routine) { if (routine != null) { TaskBehaviourInstance.StopCoroutine(routine); routine = null; } }