Пример #1
0
 void OnTriggerExit(Collider other)
 {
     if (other.tag == "Player")
     {
         player.DetectExit();
     }
 }