using UnityEditor; using XCharts.Runtime; namespace XCharts.Editor { [ComponentEditor(typeof(Title))] public class TitleEditor : MainComponentEditor { 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; } } }