From 4b8298fd2e3a3767c5567bbfa54ddfee69d9592b Mon Sep 17 00:00:00 2001 From: Sinai Date: Fri, 30 Apr 2021 00:12:41 +1000 Subject: [PATCH] Update CursorUnlocker.cs --- src/Core/Input/CursorUnlocker.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Core/Input/CursorUnlocker.cs b/src/Core/Input/CursorUnlocker.cs index d5733e7..4a535f0 100644 --- a/src/Core/Input/CursorUnlocker.cs +++ b/src/Core/Input/CursorUnlocker.cs @@ -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();