/// <summary> /// Handle when the controller leaves the collider /// </summary> /// <param name="p_collider">P collider.</param> void OnTriggerExit(Collider p_collider) { VRHoverable hover = p_collider.GetComponent <VRHoverable> ( ); if (hover) { hover.HoverEnded( ); } VRButton button = p_collider.GetComponent <VRButton> ( ); if (button) { button.ButtonHoverEnd( ); } }