Files
XCharts/Editor/MainComponents/TitleEditor.cs

21 lines
565 B
C#
Raw Normal View History

2021-11-23 13:20:07 +08:00
using UnityEditor;
2022-02-19 22:37:57 +08:00
using XCharts.Runtime;
2021-11-23 13:20:07 +08:00
2021-12-24 13:33:09 +08:00
namespace XCharts.Editor
2021-11-23 13:20:07 +08:00
{
[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");
2022-04-26 08:24:45 +08:00
PropertyField("m_LabelStyle");
PropertyField("m_SubLabelStyle");
2021-11-23 13:20:07 +08:00
--EditorGUI.indentLevel;
}
}
}