/// <summary> /// 获取执行携程 /// </summary> /// <returns></returns> public ReCoroutine GetCoroutine() { if (isRunning) { return(ReCoroutineManager.AddCoroutine(WaitForFinish())); } return(ReCoroutineManager.AddCoroutine(Run())); }
/// <summary> /// 开始执行流程 /// </summary> public void Start() { //应用属性 for (int i = 0; i < propertys.Count; i++) { propertys.GetValueAt(i).Apply(this); } ReCoroutineManager.AddCoroutine(Run()); }