Пример #1
0
 public void OnCancelButtonClick()
 {
     Common.PopupGameObject(panel, () => { if (mLeftButtonCallback != null)
                                           {
                                               mLeftButtonCallback.Invoke();
                                           }
                                           DestroySelf(); }, false);
 }
Пример #2
0
        private void DoButtonCallback(bool wasChecked)
        {
            buttoncallback?.Invoke(this);

            if (ButtonWidget.ButtonListenerHook == null)
            {
                return;
            }

            ButtonWidget.ButtonListenerHook(this);
        }