Example #1
0
        private void ConfirmationButtonHandler()
        {
            GameClient.Get <ISoundManager>()
            .PlaySound(Enumerators.SoundType.CLICK, Constants.SfxSoundVolume, false, false, true);

            ConfirmationReceived?.Invoke(true);

            Hide();
        }
Example #2
0
 protected virtual void OnConfirmationReceived(IMessageModel e) => ConfirmationReceived?.Invoke(this, e);
Example #3
0
 private void NoButtonOnClickHandler()
 {
     ConfirmationReceived?.Invoke(false);
     _uiManager.HidePopup <QuestionPopup>();
 }