Пример #1
0
    // Overwrite specific Stage data into our stages data holder.
    // This is likely used after clearing a stage or beating a highscore
    public void SetStage(int stageIndex, Stage newStageData)
    {
        _stages[stageIndex] = newStageData;

        _dataController.SaveUnlockedStage(stageIndex, newStageData);
    }