Пример #1
0
 private void OnTriggerEnter(Collider collider)
 {
     if (collider.CompareTag("Player"))
     {
         GameManagerLOL.PlayerCatched();
     }
 }
Пример #2
0
 // Start is called before the first frame update
 private void Awake()
 {
     singleton = this;
 }