Beispiel #1
0
    public void submitNewScore(TMP_InputField initialsInput)
    {
        string initials = initialsInput.text;

        if (initials == "enter initials")
        {
            initials = "";
        }

        settingsController.AddNewHighScore(initials, points);

        NewHighScorePanel.SetActive(false);
        PostGamePanel.SetActive(true);
        postGame = true;
    }