Update HotkeyBindComponent.cs

This commit is contained in:
陈思海 2025-12-22 10:17:53 +08:00
parent 551423f09d
commit 1f53bf8be4

View File

@ -62,9 +62,8 @@ namespace UnityEngine.UI
if (_holderObjectBase == null)
{
_holderObjectBase = gameObject.GetComponent<UIHolderObjectBase>();
CollectUXHotkeys();
}
// 在编辑器模式下自动收集(可根据需求移除)
CollectUXHotkeys();
}
#endif