mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-17 14:00:12 +00:00
3.0 - unitypackage
This commit is contained in:
21
Editor/MainComponents/TitleEditor.cs
Normal file
21
Editor/MainComponents/TitleEditor.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
using UnityEditor;
|
||||
|
||||
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_TextStyle");
|
||||
PropertyField("m_SubTextStyle");
|
||||
--EditorGUI.indentLevel;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user