Пример #1
0
 static public void CancelWait(ref Coroutine coroutine)
 {
     if (coroutine != null)
     {
         m_Task.StopCoroutine(coroutine);
         coroutine = null;
     }
 }
Пример #2
0
 // 终止协程
 public static void StopCoroutine(ref Coroutine routine)
 {
     if (routine != null)
     {
         TaskBehaviourInstance.StopCoroutine(routine);
         routine = null;
     }
 }