From 59d77ac523cd5e46805f05de3f0e10fec930d446 Mon Sep 17 00:00:00 2001 From: Yusuke57 Date: Sun, 17 Mar 2024 18:53:51 +0900 Subject: [PATCH] Fix: typo subtitle --- Alchemy/Assets/Alchemy/Editor/BuiltinAttributeDrawers.cs | 4 ++-- .../Assets/Alchemy/Runtime/Inspector/InspectorAttributes.cs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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 @@ namespace Alchemy.Editor.Drawers }; 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 @@ namespace Alchemy.Inspector 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)]