Update ForceUnlockCursor.cs

This commit is contained in:
sinaioutlander 2021-01-04 01:23:20 +11:00
parent 0432c6d56c
commit 58d60a10d4

View File

@ -176,6 +176,7 @@ namespace UnityExplorer.UI
// Set to our current system
m_settingEventSystem = true;
EventSystem.current = UIManager.EventSys;
UIManager.EventSys.enabled = true;
InputManager.ActivateUIModule();
m_settingEventSystem = false;
}