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

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