Exemple #1
0
 void ListeningPlayer()
 {
     if (Vector3.Distance(player.position, transform.position) < playerController.audibility)
     {
         patrol.SetTarget(player.position);
     }
 }