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

            ConfirmationReceived?.Invoke(true);

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