public void ApplySetting(LevelSetting setting) { requireUnlockLevel = setting.RequireUnlockedLevel; disabled = !LevelSelectMgr.LevelHasUnlock(requireUnlockLevel); ApplyStyle(); }
public override void Submit() { if (requireUnlockLevel < 0 || LevelSelectMgr.LevelHasUnlock(requireUnlockLevel)) LevelSelectMgr.LoadLevel(ID); }