Files
XCharts/Editor/MainComponents/PolarCoordEditor.cs
2022-02-19 22:37:57 +08:00

19 lines
463 B
C#

using UnityEditor;
using XCharts.Runtime;
namespace XCharts.Editor
{
[ComponentEditor(typeof(PolarCoord))]
public class PolarCoordEditor : MainComponentEditor<PolarCoord>
{
public override void OnInspectorGUI()
{
++EditorGUI.indentLevel;
PropertyTwoFiled("m_Center");
PropertyField("m_Radius");
PropertyField("m_BackgroundColor");
--EditorGUI.indentLevel;
}
}
}