Beispiel #1
0
    public void Morreu()
    {
        //Setar Highscore
        if (score > SaveControl.RetornarHighScore())
        {
            SaveControl.SetarHighScore(score);
        }

        SaveControl.SetarLastScore(score);
        gameOverText.SetActive(true);
        gameOver = true;
        SaveControl.SalvarArquivoJogo();
    }