protected void OnTriggerEnter(Collider other) { InteractiveController interactiveController = other.gameObject.GetComponent<InteractiveController>(); if (interactiveController) { addInteractiveController(interactiveController); if (interactive != null) { interactive.OnInteractEnter(other.gameObject.transform.parent.gameObject); } } }