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

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