Beispiel #1
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);
 }
Beispiel #2
0
 public bool CancelAction(AIState newState)
 {
     if (!ai.GetComplete())
     {
         Debug.Log("初始化未完成。。。。。。。。。");
         return(false);
     }
     UpdateManager.Ins.StopCoroutineCustom(co);
     co = null;
     ai.SetComplete(true);
     return(true);
 }