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