123456789101112131415161718192021 |
- 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;
- }
- }
- }
|