Add keybind for mouse unlock, and aggressive unlock mode

This commit is contained in:
Sinai committed 2021-04-16 18:24:31 +10:00
1 parent 0f69833283
commit 9bdcccaaa1
7 files changed
+62 -6

No files matched your search

+3
View File
@@ -83,6 +83,9 @@ namespace UnityExplorer.UI
if (!ShowMenu)
return;
if (InputManager.GetKeyDown(ConfigManager.Force_Unlock_Keybind.Value))
CursorUnlocker.Unlock = !CursorUnlocker.Unlock;
UIBehaviourModel.UpdateInstances();
if (EventSystem.current != EventSys)