mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-15 13:57:31 +08:00
Fix UI Mouse Inspect hotkey not being implemented
This commit is contained in:
parent
c88182c831
commit
57d3a3f52e
@ -113,17 +113,11 @@ namespace UnityExplorer.Inspectors
|
|||||||
|
|
||||||
public bool TryUpdate()
|
public bool TryUpdate()
|
||||||
{
|
{
|
||||||
if (ConfigManager.World_MouseInspect_Keybind.Value != KeyCode.None)
|
if (InputManager.GetKeyDown(ConfigManager.World_MouseInspect_Keybind.Value))
|
||||||
{
|
Instance.StartInspect(MouseInspectMode.World);
|
||||||
if (InputManager.GetKeyDown(ConfigManager.World_MouseInspect_Keybind.Value))
|
|
||||||
Instance.StartInspect(MouseInspectMode.World);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ConfigManager.World_MouseInspect_Keybind.Value != KeyCode.None)
|
if (InputManager.GetKeyDown(ConfigManager.UI_MouseInspect_Keybind.Value))
|
||||||
{
|
Instance.StartInspect(MouseInspectMode.UI);
|
||||||
if (InputManager.GetKeyDown(ConfigManager.World_MouseInspect_Keybind.Value))
|
|
||||||
Instance.StartInspect(MouseInspectMode.World);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (Inspecting)
|
if (Inspecting)
|
||||||
UpdateInspect();
|
UpdateInspect();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user