public void AddButton(string label, int index) { var button = GetButton(); button.Text = label; button.OnClick.AddListener(() => OnClick.Dispatch(index)); }
public void OnPointerClick(PointerEventData eventData) { if (hideOnClick) { OnClick.Dispatch(); } }
void On_Original_Clicked() { OnClick.Dispatch(this); }
public virtual void TriggerClick() { OnClick.Dispatch(); }
void ClickHandler(bool value) { OnClick.Dispatch(value); MoveToggle(value, true); }
public void Click() { OnClick.Dispatch(); }