예제 #1
0
 public void GoToMenu()//switch scene to menu
 {
     GameScene.SetActive(false);
     MenuScene.SetActive(true);
 }
예제 #2
0
 public void GoToGame()//switch scene to game
 {
     GameScene.SetActive(true);
     MenuScene.SetActive(false);
 }
예제 #3
0
 public void Exit()
 {
     EndgameScene.SetActive(false);
     MenuScene.SetActive(true);
 }
예제 #4
0
    //InstructionsScene

    public void ClickOnDone()
    {
        InstructionsScene.SetActive(false);
        MenuScene.SetActive(true);
    }
예제 #5
0
 public void ClickOnInstructions()
 {
     MenuScene.SetActive(false);
     InstructionsScene.SetActive(true);
 }
예제 #6
0
 //MenuScene
 public void ClickOnPlay()
 {
     MenuScene.SetActive(false);
     GameplayScene.SetActive(true);
 }