-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSettings.cs
More file actions
22 lines (21 loc) · 736 Bytes
/
Copy pathSettings.cs
File metadata and controls
22 lines (21 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using BeatSaberMarkupLanguage;
using BeatSaberMarkupLanguage.Settings;
using IPA.Config;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PimaxLightFixer
{
class Settings
{
public static void OnLoad()
{
var menu = SettingsUI.CreateSubMenu("Pimax Light Fixer");
var disableLighting = menu.AddBool("Disable Lighting", "When enabled, the problem light components are completely destroyed instead of being repositioned.");
disableLighting.GetValue += () => { return Config.DisableLighting; };
disableLighting.SetValue += (value) => { Config.DisableLighting = value; };
}
}
}