diff --git a/Editor/UIExtension/UIButtonSuper.cs b/Editor/UIExtension/UIButtonSuperEditor.cs similarity index 100% rename from Editor/UIExtension/UIButtonSuper.cs rename to Editor/UIExtension/UIButtonSuperEditor.cs diff --git a/Editor/UIExtension/UIButtonSuper.cs.meta b/Editor/UIExtension/UIButtonSuperEditor.cs.meta similarity index 100% rename from Editor/UIExtension/UIButtonSuper.cs.meta rename to Editor/UIExtension/UIButtonSuperEditor.cs.meta diff --git a/Runtime/UGUIExtension/Button/UIButtonSuper.cs b/Runtime/UGUIExtension/Button/UIButtonSuper.cs index 7f85fc6..68eca6b 100644 --- a/Runtime/UGUIExtension/Button/UIButtonSuper.cs +++ b/Runtime/UGUIExtension/Button/UIButtonSuper.cs @@ -165,7 +165,7 @@ namespace AlicizaX.UI.Extension private void PlayButtonSound(ButtonSoundType buttonSoundType) { ButtonSoundCell buttonSound = GetButtonSound(buttonSoundType); - if (buttonSound == null) + if (buttonSound == null || string.IsNullOrEmpty(buttonSound.ButtonUISoundName)) { return; }