Exemple #1
0
        /// <summary>
        /// <para>Eng. Pushed "Game" Button in Option State. </para>
        /// <para>Kor. 옵션 상태에서, "게임" 버튼을 눌렀습니다. </para>
        /// </summary>
        public void PushedOptionGameButton()
        {
            _optionState = OptionTabState.Game;

            _optionGraphicPanel.SetActive(false);
            _optionSoundPanel.SetActive(false);
            _optionGamePanel.SetActive(true);

            GameOptionManager.GetInstance().InitGameOptionPanelItem();
        }
Exemple #2
0
        public static GameOptionManager GetInstance()
        {
            if (!instance)
            {
                instance = GameObject.FindObjectOfType(typeof(GameOptionManager)) as GameOptionManager;

                if (!instance)
                {
                    ErrorMessages.Instance.MissingSingletoneObject("GameOptionManager");
                }
            }

            return(instance);
        }