Exemple #1
0
    protected override void Execute()
    {
        int levelNumber = LevelHelper.GetNumberOfLevelWithScene(sceneStatus.currentScene);

        if (!gameStateModel.Get().CompletedLevels.Contains(levelNumber))
        {
            gameStateModel.Get().CompletedLevels.Add(levelNumber);
        }
    }
 protected override void Execute()
 {
     levelStatus.LastLevelNumber = LevelHelper.GetNumberOfLevelWithScene(sceneStatus.currentScene);
 }