Esempio n. 1
0
 public void returnToBoard(bool won)
 {
     script.changeContinueState(won);
     script.changeTurn();
     KeepScript.showOrHideObjects(true);
     SceneManager.LoadScene("Board");
 }
Esempio n. 2
0
 public void loadGame()
 {
     if (game == "TicTacToe" || game == "LetterSoup" || game == "MemoryPath" || game == "Memory" || game == "CatchTheCat" || game == "Bombermario" || game == "GuessWho")
     {
         SceneManager.LoadScene(game);
         KeepScript.showOrHideObjects(false);
     }
     else
     {
         playerScript.changeTurn();
     }
 }