mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-11 18:08:05 +08:00
Update CursorUnlocker.cs
This commit is contained in:
1 parent
23483a6108
commit
4b8298fd2e
1 file changed
+1
-3
@@ -62,7 +62,7 @@ namespace UnityExplorer.Core.Input
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ExplorerCore.LogWarning($"Exception setting up Camera.onPostRender callback: {ex}");
|
||||
ExplorerCore.LogWarning($"Exception setting up Aggressive Mouse Unlock: {ex}");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,9 +72,7 @@ namespace UnityExplorer.Core.Input
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
ExplorerCore.Log("Yielding end of frame");
|
||||
yield return _waitForEndOfFrame;
|
||||
ExplorerCore.Log("Yielded");
|
||||
|
||||
if (UIManager.ShowMenu)
|
||||
UpdateCursorControl();
|
||||
|
||||
Reference in new issue
Block a user