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