diff --git a/Scripts/Editor/UIExtensionsMenuOptions.cs b/Scripts/Editor/UIExtensionsMenuOptions.cs index 6faa789..79e1197 100644 --- a/Scripts/Editor/UIExtensionsMenuOptions.cs +++ b/Scripts/Editor/UIExtensionsMenuOptions.cs @@ -362,7 +362,8 @@ namespace UnityEditor.UI image.type = Image.Type.Sliced; image.color = s_DefaultSelectableColor; - UIButton bt = uiButtonRoot.AddComponent(); + Button bt = uiButtonRoot.AddComponent