public void SaveScore() { highScore.AddPlayerScore(inputField.text, scoreManager.GetScore()); inputField.gameObject.SetActive(false); }