This commit is contained in:
陈思海 2025-09-05 20:56:26 +08:00
parent 4ff06ef547
commit 85c7cb0b68

View File

@ -21,7 +21,6 @@ namespace AlicizaX.UI.Runtime
#endif
#if UNITY_EDITOR && ALICIZAX_UI_EXTENSION_SUPPORT
[Button("SetHotKeyButtons")]
private void SetHotKeyButtons()
{
hotButtons = transform.GetComponentsInChildren<UXButton>(true);
@ -29,7 +28,14 @@ namespace AlicizaX.UI.Runtime
#endif
#if ALICIZAX_UI_EXTENSION_SUPPORT
[SerializeField] [HideLabel] [ReadOnly]
#if UNITY_EDITOR
[InlineButton("SetHotKeyButtons")]
#endif
[SerializeField]
[HideLabel]
internal UXButton[] hotButtons;
internal void BindHotKeys()