Exemple #1
0
 void OnTriggerEnter(Collider col)
 {
     if (col.tag == "Player" && !es.seesPlayer)
     {
         es.PlayerNearby(col.ClosestPoint(transform.position));
     }
 }