Пример #1
0
    private void Victory()
    {
        victoryPauseMenu.Victory();
        int score = scoreGUI.GetScore();

        if (score > PlayerPrefs.GetInt(scenName + "HighScore"))
        {
            PlayerPrefs.SetInt(scenName + "HighScore", score);
        }
    }