Пример #1
0
 public void Chase()
 {
     playerInArea = true;
     chasing      = true;
     ScriptAuidoAlert.audioAlert();
     alert.SetActive(true);
     Invoke("DesactiveAlert", 2);
 }
Пример #2
0
 public void Chase()
 {
     alert.SetActive(true);
     ScriptAuidoAlert.audioAlert();
     Invoke("DesactiveAlert", 2);
     anim.SetBool("iddle", false);
     playerInArea = true;
     chasing      = false;
 }