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); }
public void Exit() { EndgameScene.SetActive(false); MenuScene.SetActive(true); }
//InstructionsScene public void ClickOnDone() { InstructionsScene.SetActive(false); MenuScene.SetActive(true); }
public void ClickOnInstructions() { MenuScene.SetActive(false); InstructionsScene.SetActive(true); }
//MenuScene public void ClickOnPlay() { MenuScene.SetActive(false); GameplayScene.SetActive(true); }