Пример #1
0
 public bool CancelAction(AIState newState)
 {
     UpdateManager.Ins.StopCoroutineCustom(co);
     co = null;
     ai.SetComplete(true);
     return(true);
 }
Пример #2
0
 public bool CancelAction(AIState newState)
 {
     if (!ai.GetComplete() && newState != AIState.Die)
     {
         return(false);
     }
     UpdateManager.Ins.StopCoroutineCustom(co);
     co = null;
     ai.SetComplete(true);
     return(true);
 }
Пример #3
0
 public bool CancelAction(AIState newState)
 {
     if (!ai.GetComplete())
     {
         Debug.Log("初始化未完成。。。。。。。。。");
         return(false);
     }
     UpdateManager.Ins.StopCoroutineCustom(co);
     co = null;
     ai.SetComplete(true);
     return(true);
 }