diff --git a/UnityEditorPackage/Runtime/UnityExplorer.STANDALONE.Mono.dll b/UnityEditorPackage/Runtime/UnityExplorer.STANDALONE.Mono.dll index f7584c6..7af7432 100644 Binary files a/UnityEditorPackage/Runtime/UnityExplorer.STANDALONE.Mono.dll and b/UnityEditorPackage/Runtime/UnityExplorer.STANDALONE.Mono.dll differ diff --git a/src/Cinematic/IInputManager.cs b/src/Cinematic/IInputManager.cs index cb602f8..a609797 100644 --- a/src/Cinematic/IInputManager.cs +++ b/src/Cinematic/IInputManager.cs @@ -260,9 +260,9 @@ namespace UniverseLib.Input // Postfix functions - public static void OverrideKeyString(ref bool __result, ref string key) + public static void OverrideKeyString(ref bool __result, ref string name) { - KeyCode thisKeyCode = (KeyCode) System.Enum.Parse(typeof(KeyCode), key); + KeyCode thisKeyCode = (KeyCode) System.Enum.Parse(typeof(KeyCode), name); getKeyDict[thisKeyCode] = __result; if (FreeCamPanel.ShouldOverrideInput()){ __result = false; @@ -279,9 +279,9 @@ namespace UniverseLib.Input } } - public static void OverrideKeyDownString(ref bool __result, ref string key) + public static void OverrideKeyDownString(ref bool __result, ref string name) { - KeyCode thisKeyCode = (KeyCode) System.Enum.Parse(typeof(KeyCode), key); + KeyCode thisKeyCode = (KeyCode) System.Enum.Parse(typeof(KeyCode), name); getKeyDownDict[thisKeyCode] = __result; if (FreeCamPanel.ShouldOverrideInput()){ __result = false; @@ -298,9 +298,9 @@ namespace UniverseLib.Input } } - public static void OverrideKeyUpString(ref bool __result, ref string key) + public static void OverrideKeyUpString(ref bool __result, ref string name) { - KeyCode thisKeyCode = (KeyCode) System.Enum.Parse(typeof(KeyCode), key); + KeyCode thisKeyCode = (KeyCode) System.Enum.Parse(typeof(KeyCode), name); getKeyUpDict[thisKeyCode] = __result; if (FreeCamPanel.ShouldOverrideInput()){ __result = false;