void CompleteAllLevels() { if (!CheckPlaying()) { return; } var levelNames = MadLevel.GetAllLevelNames(); foreach (var levelName in levelNames) { MadLevelProfile.SetCompleted(levelName, true); } MadLevel.ReloadCurrent(); }
void UnlockAllLevels() { if (!CheckPlaying()) { return; } var levelNames = MadLevel.GetAllLevelNames(); foreach (var levelName in levelNames) { MadLevelProfile.SetLocked(levelName, false); } MadLevel.ReloadCurrent(); }