コード例 #1
0
    private void EndGameProcess()
    {
        CurrentGameMode   = GameMode.Victory;
        Screen.showCursor = true;

        GlobalVariables.AdditionalExplosionLevel = 0;

        var score = PlayerStats.Instance.LevelScore;

        SaveManager.SaveScoreCount(score, Getters.Application.GetBattleSceneNumber(Application.loadedLevelName));
        SaveManager.SaveStarsCount(ScoreCounter.CalculateStarsNumber(score), Getters.Application.GetBattleSceneNumber(Application.loadedLevelName));
        SaveManager.Save();
    }