Exemplo n.º 1
0
        public void ContinueButtonOnClickHandler()
        {
            GameClient.Get <ISoundManager>()
            .PlaySound(Enumerators.SoundType.CLICK, Constants.SfxSoundVolume, false, false, true);

            PopupHiding?.Invoke();

            _uiManager.HidePopup <OverlordAbilitySelectionPopup>();
        }
Exemplo n.º 2
0
        public void Hide()
        {
            PopupHiding?.Invoke();

            if (Self == null)
            {
                return;
            }

            Self.SetActive(false);
            Object.Destroy(Self);
            Self = null;
        }
Exemplo n.º 3
0
        public void Hide()
        {
            PopupHiding?.Invoke();
            GameClient.Get <ICameraManager>().FadeOut(null, 1);

            if (Self == null)
            {
                return;
            }

            Self.SetActive(false);
            Object.Destroy(Self);
            Self = null;
        }