void OkButtonClick() { if (IsOpening) { return; } _okButton.interactable = !_notInteractableWhenPressed; ConfirmedEvent?.Invoke(ConfirmTypes.Ok); }
void CloseButtonClick() { if (IsOpening) { return; } if (IsClosing) { return; } if (!_okButton.enabled) { return; } ConfirmedEvent?.Invoke(ConfirmTypes.Close); CloseConfirm(); }
void OnConfirmed() { ConfirmedEvent?.Invoke(Type, Level); }