Example #1
0
 public void GoToProgressionView()
 {
     m_progressionController.gameObject.SetActive(true);
     m_ProgressButton.SetActive(false);
     m_PlayButton.SetActive(false);
     m_QuitButton.SetActive(true);
     GlobalState = GlobaState.inProgressionScreen;
     m_progressionController.Initialize();
 }
Example #2
0
 public void PlayGame()
 {
     m_EndObjectsContainer.SetActive(true);
     m_Lines.SetActive(true);
     m_Match.SetActive(true);
     m_PlayButton.SetActive(false);
     m_ProgressButton.SetActive(false);
     m_QuitButton.SetActive(true);
     GlobalState = GlobaState.inMatch;
     m_gameManager.Init();
 }
Example #3
0
 public void QuitGame()
 {
     m_EndObjectsContainer.SetActive(false);
     m_Lines.SetActive(false);
     m_Match.SetActive(false);
     m_PlayButton.SetActive(true);
     m_QuitButton.SetActive(false);
     m_matchEndView.gameObject.SetActive(false);
     m_ProgressButton.SetActive(true);
     m_progressionController.gameObject.SetActive(false);
     GlobalState = GlobaState.inMainMenu;
     m_gameManager.Quit();
 }