private void level_Selection() { switch (currentLevelEnum) { case Levels.L1: currentLevel = new Level1(); break; case Levels.L2: currentLevel = new Level2(); break; case Levels.L3: currentLevel = new Level3(); break; case Levels.L4: currentLevel = new Level4(); break; case Levels.L5: currentLevel = new Level5(); break; case Levels.L6: currentLevel = new Level6(); break; case Levels.L7: currentLevel = new Level7(); break; case Levels.L8: currentLevel = new Level8(); break; default: break; } level_Setup(); }
private void TextInput(PrefabLevel level) { suggestionTable.SetSuggestionText(level.SuggestionText); hallOfFame.SetAnswerText(level.AnwserText); }