Ejemplo n.º 1
0
        public static MainMenuManager GetInstance()
        {
            if (!instance)
            {
                instance = GameObject.FindObjectOfType(typeof(MainMenuManager)) as MainMenuManager;

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

            return(instance);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// <para>Eng. Pushed "Main Menu" Button in Escape Menu State. </para>
 /// <para>Kor. ESC 메뉴 상태에서, 메인 메뉴 버튼을 눌렀습니다. </para>
 /// </summary>
 public void PushedEscapeMenuMainMenuButton()
 {
     _EscapeMenuPanel.SetActive(false);
     MainMenuManager.GetInstance().EnableMainMenu();
 }