Example #1
0
 public bool NeedsPathfinding()
 {
     if (state == ai_state.groundpatrol || state == ai_state.chase)
     {
         return(true);
     }
     _pathAgent.CancelPathing();
     return(false);
 }