23 lines
659 B
C#
23 lines
659 B
C#
using UnityEditor;
|
|
using XCharts.Runtime;
|
|
|
|
namespace XCharts.Editor
|
|
{
|
|
[ComponentEditor(typeof(GridCoord))]
|
|
public class GridCoordEditor : MainComponentEditor<GridCoord>
|
|
{
|
|
public override void OnInspectorGUI()
|
|
{
|
|
++EditorGUI.indentLevel;
|
|
PropertyField("m_Left");
|
|
PropertyField("m_Right");
|
|
PropertyField("m_Top");
|
|
PropertyField("m_Bottom");
|
|
PropertyField("m_BackgroundColor");
|
|
PropertyField("m_ShowBorder");
|
|
PropertyField("m_BorderWidth");
|
|
PropertyField("m_BorderColor");
|
|
--EditorGUI.indentLevel;
|
|
}
|
|
}
|
|
} |