public void Chase() { playerInArea = true; chasing = true; ScriptAuidoAlert.audioAlert(); alert.SetActive(true); Invoke("DesactiveAlert", 2); }
public void Chase() { alert.SetActive(true); ScriptAuidoAlert.audioAlert(); Invoke("DesactiveAlert", 2); anim.SetBool("iddle", false); playerInArea = true; chasing = false; }