Exemple #1
0
 // 开始协程,非 Mono 类可调用
 public static Coroutine StartCoroutine(IEnumerator routine)
 {
     if (routine == null)
     {
         return(null);
     }
     return(TaskBehaviourInstance.StartCoroutine(routine));
 }
Exemple #2
0
 static public Coroutine WaitTime(float time, UnityAction calllback)
 {
     return(m_Task.StartCoroutine(mCoroutine(time, calllback)));
 }