public void OnCancelButtonClick() { Common.PopupGameObject(panel, () => { if (mLeftButtonCallback != null) { mLeftButtonCallback.Invoke(); } DestroySelf(); }, false); }
private void DoButtonCallback(bool wasChecked) { buttoncallback?.Invoke(this); if (ButtonWidget.ButtonListenerHook == null) { return; } ButtonWidget.ButtonListenerHook(this); }