예제 #1
0
        void OkButtonClick()
        {
            if (IsOpening)
            {
                return;
            }

            _okButton.interactable = !_notInteractableWhenPressed;
            ConfirmedEvent?.Invoke(ConfirmTypes.Ok);
        }
예제 #2
0
        void CloseButtonClick()
        {
            if (IsOpening)
            {
                return;
            }

            if (IsClosing)
            {
                return;
            }

            if (!_okButton.enabled)
            {
                return;
            }

            ConfirmedEvent?.Invoke(ConfirmTypes.Close);
            CloseConfirm();
        }
예제 #3
0
 void OnConfirmed()
 {
     ConfirmedEvent?.Invoke(Type, Level);
 }