Пример #1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.CompareTag("Sense"))
     {
         senseManager.OnSenseCollected(other.gameObject);
         Destroy(other.gameObject);
         gameManager.NextScene(endText);
     }
 }