@@ -32,6 +32,8 @@ public static class ConfigManager
3232 public static ConfigElement < bool > Hide_On_Startup ;
3333 public static ConfigElement < float > Startup_Delay_Time ;
3434 public static ConfigElement < string > Reflection_Signature_Blacklist ;
35+ public static ConfigElement < KeyCode > World_MouseInspect_Keybind ;
36+ public static ConfigElement < KeyCode > UI_MouseInspect_Keybind ;
3537
3638 // internal configs
3739 internal static InternalConfigHandler InternalHandler { get ; private set ; }
@@ -93,13 +95,18 @@ private static void CreateConfigElements()
9395 "Should UnityExplorer be hidden on startup?" ,
9496 false ) ;
9597
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+
96106 Force_Unlock_Mouse = new ConfigElement < bool > ( "Force Unlock Mouse" ,
97107 "Force the Cursor to be unlocked (visible) when the UnityExplorer menu is open." ,
98108 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 ;
103110
104111 Force_Unlock_Toggle = new ConfigElement < KeyCode > ( "Force Unlock Toggle Key" ,
105112 "The keybind to toggle the 'Force Unlock Mouse' setting. Only usable when UnityExplorer is open." ,
@@ -108,10 +115,7 @@ private static void CreateConfigElements()
108115 Disable_EventSystem_Override = new ConfigElement < bool > ( "Disable EventSystem override" ,
109116 "If enabled, UnityExplorer will not override the EventSystem from the game.\n <b>May require restart to take effect.</b>" ,
110117 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 ;
115119
116120 Log_Unity_Debug = new ConfigElement < bool > ( "Log Unity Debug" ,
117121 "Should UnityEngine.Debug.Log messages be printed to UnityExplorer's log?" ,
0 commit comments