Ejemplo n.º 1
0
    void LoadLevel()
    {
        level = new Level();
        boardController.level = level;
        boardController.RemoveAllTileViews();
        boardController.AddViewsForTiles();

        //ui info
        levelUIController.SetLevelLabelText("Level " + Level.currentLevelNumber);
        levelUIController.SetTargetLabelText(level.targetScore.ToString());
    }