public void OnPointerClick(PointerEventData eventData) { if (OnClick != null) { OnClick.Invoke(); } }