From ac80817f497df4c336bfd7b40c71709101ee90d7 Mon Sep 17 00:00:00 2001 From: "Simon (darkside) Jackson" Date: Wed, 21 Oct 2020 19:04:00 +0100 Subject: [PATCH] Missed some refs --- Runtime/Scripts/Utilities/UIExtensionsInputManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Scripts/Utilities/UIExtensionsInputManager.cs b/Runtime/Scripts/Utilities/UIExtensionsInputManager.cs index 5883641..94548c8 100644 --- a/Runtime/Scripts/Utilities/UIExtensionsInputManager.cs +++ b/Runtime/Scripts/Utilities/UIExtensionsInputManager.cs @@ -13,7 +13,7 @@ namespace UnityEngine.UI.Extensions { public static class UIExtensionsInputManager { -#if !ENABLE_LEGACY_INPUT_MANAGER +#if UNITY_2019_OR_NEWER && !ENABLE_LEGACY_INPUT_MANAGER private static bool[] mouseButtons = new bool[3] { false, false, false }; private static Dictionary keys = new Dictionary(); private static Dictionary buttons = new Dictionary();