public void OnPointerExit(PointerEventData eventData) { if (slot.PointerExit != null) { slot.PointerExit(eventData, slot); } Light.enabled = false; }