Example #1
0
 private void SwitchToFollowTargetState(FollowAgent agent)
 {
     agent.SetState(new FollowState());
 }
Example #2
0
 private void SwitchToPatrolState(FollowAgent agent)
 {
     agent.SetState(new PatrolState());
 }