Пример #1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.GetType() == typeof(UnityEngine.CharacterController))
     {
         victoryScript.SetVictoryText();
     }
 }