diff --git a/Assets/Cryville/Common/Unity/Input/UnityKeyHandler.cs b/Assets/Cryville/Common/Unity/Input/UnityKeyHandler.cs index 43f1e12..a25d0eb 100644 --- a/Assets/Cryville/Common/Unity/Input/UnityKeyHandler.cs +++ b/Assets/Cryville/Common/Unity/Input/UnityKeyHandler.cs @@ -49,6 +49,9 @@ namespace Cryville.Common.Unity.Input { Callback = h; } public abstract string GetKeyName(int type); + void Awake() { + useGUILayout = false; + } void Update() { double time = Time.realtimeSinceStartupAsDouble; foreach (var k in Keys) {