예제 #1
0
 public void StartGame()
 {
     if (Input.GetMouseButtonDown(0))
     {
         GoToRunning();
         uiHolder.ActivateGameStartPanel(false);
         uiHolder.ActivateMainPanel(true);
     }
 }
예제 #2
0
 private void StartGameWithClick()
 {
     if (Input.GetMouseButtonDown(0))
     {
         GotoRunning();
         uiHolder.ActivateMainPanel(true);
         uiHolder.ActivateGameStartPanel(false);
         PlayAudio("background");
         // do more staff to start the game
     }
 }