/// <summary> /// 开启一个协成 /// </summary> /// <param name="e"></param> /// <returns></returns> public Coroutine StartCorountine(IEnumerator e) { if (null == core) { return(null); } return(core.StartCoroutine(e)); }
public Coroutine StartCoroutine(string coreName, IEnumerator routine) { CoroutineCore curCore = GetOrCreateCoroutineCore(coreName); return(curCore.StartCoroutine(routine)); }