public override void OnPointerDown(PointerEventData eventData) { base.OnPointerDown(eventData); if (IsInteractable()) { OnClickEvent?.Invoke(this); } }
public void OnPointerClick(PointerEventData eventData) { OnClickHandler?.Invoke(eventData); }
public void OnClick(object sender, EventArgs e) { OnClickHandler?.Invoke(sender, e); }