Files
XCharts/Editor/MainComponents/TitleEditor.cs
monitor1394 bafe032bb9 3.0
2022-05-22 22:17:38 +08:00

21 lines
565 B
C#

using UnityEditor;
using XCharts.Runtime;
namespace XCharts.Editor
{
[ComponentEditor(typeof(Title))]
public class TitleEditor : MainComponentEditor<Title>
{
public override void OnInspectorGUI()
{
++EditorGUI.indentLevel;
PropertyField("m_Text");
PropertyField("m_SubText");
PropertyField("m_ItemGap");
PropertyField("m_Location");
PropertyField("m_LabelStyle");
PropertyField("m_SubLabelStyle");
--EditorGUI.indentLevel;
}
}
}