From ed5bbeb2aca1ed4182b60f3e3703e4437bcb1f34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=80=9D=E6=B5=B7?= <1464576565@qq.com> Date: Mon, 15 Dec 2025 19:38:08 +0800 Subject: [PATCH] 1 --- Runtime/UXComponent/Hotkey/UXHotkeyRegisterManager.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Runtime/UXComponent/Hotkey/UXHotkeyRegisterManager.cs b/Runtime/UXComponent/Hotkey/UXHotkeyRegisterManager.cs index 1726083..00a18eb 100644 --- a/Runtime/UXComponent/Hotkey/UXHotkeyRegisterManager.cs +++ b/Runtime/UXComponent/Hotkey/UXHotkeyRegisterManager.cs @@ -5,7 +5,6 @@ using UnityEngine.InputSystem; using System.Collections.Generic; using System.Collections; using AlicizaX.UI; -using UnityEditor.Callbacks; namespace AlicizaX.UI { @@ -40,7 +39,7 @@ namespace AlicizaX.UI #if UNITY_EDITOR - [DidReloadScripts] + [UnityEditor.Callbacks.DidReloadScripts] internal static void ClearHotkeyRegistry() { foreach (var key in _buttonRegistrations.Keys)