示例#1
0
        private void Start()
        {
            ExitMenuObject       = GameObject.Find("ConfirmExitGameDialog");
            AuthorsWindowObject  = GameObject.Find("AuthorsWindow");
            SettingsWindowObject = GameObject.Find("SettingsWindow");
            NewGameWindow        = GameObject.Find("NewGameWindow");
            ConfirmNewGameObject = GameObject.Find("ConfirmNewGameDialog");
            MainMenuObject       = GameObject.Find("MainMenu");

            NewGameWindow.SetActive(false);
            ConfirmNewGameObject.SetActive(false);
            AuthorsWindowObject.SetActive(false);
            SettingsWindowObject.SetActive(false);
            ExitMenuObject.SetActive(false);

            MainMenuObject.SetActive(true);
        }
示例#2
0
        public void NewGameBackButton()
        {
            NewGameWindow.SetActive(false);

            MainMenuObject.SetActive(true);
        }
示例#3
0
 public void ConfirmNewGameButton_Click()
 {
     NewGameWindow.SetActive(true);
     ConfirmNewGameObject.SetActive(false);
 }