diff --git a/Runtime/UI/UIBase/UIHolderObjectBase.cs b/Runtime/UI/UIBase/UIHolderObjectBase.cs index 7c65d82..476a9a5 100644 --- a/Runtime/UI/UIBase/UIHolderObjectBase.cs +++ b/Runtime/UI/UIBase/UIHolderObjectBase.cs @@ -21,7 +21,6 @@ namespace AlicizaX.UI.Runtime #endif #if UNITY_EDITOR && ALICIZAX_UI_EXTENSION_SUPPORT - [Button("SetHotKeyButtons")] private void SetHotKeyButtons() { hotButtons = transform.GetComponentsInChildren(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()