Пример #1
0
 protected void OnTriggerExit(Collider other)
 {
     InteractiveController interactiveController = other.gameObject.GetComponent<InteractiveController>();
     if (interactiveController)
     {
         removeInteractiveController(interactiveController);
         if (interactive != null)
         {
             interactive.OnInteractExit(other.gameObject.transform.parent.gameObject);
         }
     }
 }