예제 #1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.CompareTag("Player"))
     {
         if (gameManager.characterClass == intectableClasses || intectableClasses == Character.BOTH)
         {
             interactableManager.RegisterInteractable(this);
         }
     }
     TriggerEnter(other);
 }