@@ -32,6 +32,8 @@ public static class ConfigManager
32
32
public static ConfigElement < bool > Hide_On_Startup ;
33
33
public static ConfigElement < float > Startup_Delay_Time ;
34
34
public static ConfigElement < string > Reflection_Signature_Blacklist ;
35
+ public static ConfigElement < KeyCode > World_MouseInspect_Keybind ;
36
+ public static ConfigElement < KeyCode > UI_MouseInspect_Keybind ;
35
37
36
38
// internal configs
37
39
internal static InternalConfigHandler InternalHandler { get ; private set ; }
@@ -93,13 +95,18 @@ private static void CreateConfigElements()
93
95
"Should UnityExplorer be hidden on startup?" ,
94
96
false ) ;
95
97
98
+ World_MouseInspect_Keybind = new ( "World Mouse-Inspect Keybind" ,
99
+ "Optional keybind to being a World-mode Mouse Inspect." ,
100
+ KeyCode . None ) ;
101
+
102
+ UI_MouseInspect_Keybind = new ( "UI Mouse-Inspect Keybind" ,
103
+ "Optional keybind to begin a UI_mode Mouse Inspect." ,
104
+ KeyCode . None ) ;
105
+
96
106
Force_Unlock_Mouse = new ConfigElement < bool > ( "Force Unlock Mouse" ,
97
107
"Force the Cursor to be unlocked (visible) when the UnityExplorer menu is open." ,
98
108
true ) ;
99
- Force_Unlock_Mouse . OnValueChanged += ( bool value ) =>
100
- {
101
- UniverseLib . Config . ConfigManager . Force_Unlock_Mouse = value ;
102
- } ;
109
+ Force_Unlock_Mouse . OnValueChanged += ( bool value ) => UniverseLib . Config . ConfigManager . Force_Unlock_Mouse = value ;
103
110
104
111
Force_Unlock_Toggle = new ConfigElement < KeyCode > ( "Force Unlock Toggle Key" ,
105
112
"The keybind to toggle the 'Force Unlock Mouse' setting. Only usable when UnityExplorer is open." ,
@@ -108,10 +115,7 @@ private static void CreateConfigElements()
108
115
Disable_EventSystem_Override = new ConfigElement < bool > ( "Disable EventSystem override" ,
109
116
"If enabled, UnityExplorer will not override the EventSystem from the game.\n <b>May require restart to take effect.</b>" ,
110
117
false ) ;
111
- Disable_EventSystem_Override . OnValueChanged += ( bool value ) =>
112
- {
113
- UniverseLib . Config . ConfigManager . Disable_EventSystem_Override = value ;
114
- } ;
118
+ Disable_EventSystem_Override . OnValueChanged += ( bool value ) => UniverseLib . Config . ConfigManager . Disable_EventSystem_Override = value ;
115
119
116
120
Log_Unity_Debug = new ConfigElement < bool > ( "Log Unity Debug" ,
117
121
"Should UnityEngine.Debug.Log messages be printed to UnityExplorer's log?" ,
0 commit comments