Пример #1
0
    void Start()
    {
        soundManager.PlaySound("xiuletFinal");
        result    = score.scoreValue;
        highscore = Highscores.Highest();

        scoreText.text = "Score: " + result;
        if (result > highscore)
        {
            recordText.SetActive(true);
        }
        else
        {
            recordText.SetActive(false);
        }
        scoreText.text += "\nHighscore: " + highscore;
    }