Пример #1
0
 /*
  * private void Update()
  * {
  *  //if game has restarted then reset
  *  if (game.isGameStopped())
  *  {
  *      alreadySubmitted = false;
  *  }
  * }
  */
 public void GetInputonClickHandler()
 {
     //add a boolean where if already press submit can't press it again, until new game starts
     accessScore.PostScores(inputUser.text, game.getScore());
     Debug.Log("Log Input" + inputUser.text);
     inputUser.Select();
     inputUser.text = "";
     submitButton.SetActive(false);
     nameForScore.SetActive(false);
 }