private void OnTriggerEnter(Collider collider) { InteractableItem collidedItem = collider.GetComponent <InteractableItem>(); if (collidedItem) { collidedItem.Touched(this); if (controller.GetPress(triggerButton)) { objectsTriggering.Remove(collidedItem); } else { objectsHoveringOver.Add(collidedItem); } } }