Esempio n. 1
0
 public void ResetBehaviour()
 {
     gameObject.SetActive(true);
     animator.SetBool(Moving_Anim, false);
     animator.ResetTrigger(Catch_Anim);
     navAgent.StopAgent();
     destination = initialDestination;
     NavAgent.ResetAgent();
     animator.SetBool(Moving_Anim, false);
     stateMachine.ResetFSM();
 }