diff --git a/Alchemy/Assets/Alchemy/Editor/BuiltinAttributeDrawers.cs b/Alchemy/Assets/Alchemy/Editor/BuiltinAttributeDrawers.cs index 6d3509e..d3b1af7 100644 --- a/Alchemy/Assets/Alchemy/Editor/BuiltinAttributeDrawers.cs +++ b/Alchemy/Assets/Alchemy/Editor/BuiltinAttributeDrawers.cs @@ -271,9 +271,9 @@ public override void OnCreateElement() }; parent.Insert(parent.IndexOf(TargetElement), title); - if (att.SubitleText != null) + if (att.SubtitleText != null) { - var subtitle = new Label(att.SubitleText) + var subtitle = new Label(att.SubtitleText) { style = { fontSize = 10f, diff --git a/Alchemy/Assets/Alchemy/Runtime/Inspector/InspectorAttributes.cs b/Alchemy/Assets/Alchemy/Runtime/Inspector/InspectorAttributes.cs index 4a025a5..ba5ea51 100644 --- a/Alchemy/Assets/Alchemy/Runtime/Inspector/InspectorAttributes.cs +++ b/Alchemy/Assets/Alchemy/Runtime/Inspector/InspectorAttributes.cs @@ -164,18 +164,18 @@ public sealed class TitleAttribute : Attribute public TitleAttribute(string titleText) { TitleText = titleText; - SubitleText = null; + SubtitleText = null; } public TitleAttribute(string titleText, string subtitle) { TitleText = titleText; - SubitleText = subtitle; + SubtitleText = subtitle; } public string TitleText { get; } - public string SubitleText { get; } + public string SubtitleText { get; } } [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method)]