Exemplo n.º 1
0
    private void SetScore()
    {
        var index = _scenesLoader.ReturnIndex();

        if (index != 0)
        {
            GetFinalScore(_gameManager.Score);
        }
        else
        {
            ModifyBestScore(_gameManager.Score);
            SetBestScore();
            _gameManager.Score = 0;
        }
    }