public void OnPointerClick(PointerEventData eventData) { if (slot.PointerClick != null && slot.CurrentItem != null) { slot.PointerClick(eventData, slot); } }