Beispiel #1
0
 /*
  * Function that starts the game.
  * */
 public void setStartGame()
 {
     ;
     word                    = wordGen.newWord(); //New Word
     wordText.text           = word.Name;         //Set Name
     buttonTest.interactable = false;
     inputTest.interactable  = true;
     inputTest.Select();
     inputTest.ActivateInputField();
     gamePlay = true;
     testTimer.startTimer();
     score          = 0;
     scoreText.text = "Score: " + score;
 }