2021-11-23 13:20:07 +08:00
|
|
|
using UnityEditor;
|
2022-02-19 22:37:57 +08:00
|
|
|
using XCharts.Runtime;
|
2020-05-21 08:32:52 +08:00
|
|
|
|
2021-12-24 13:33:09 +08:00
|
|
|
namespace XCharts.Editor
|
2020-05-21 08:32:52 +08:00
|
|
|
{
|
2021-11-23 13:20:07 +08:00
|
|
|
[ComponentEditor(typeof(PolarCoord))]
|
|
|
|
|
public class PolarCoordEditor : MainComponentEditor<PolarCoord>
|
2020-05-21 08:32:52 +08:00
|
|
|
{
|
2021-11-23 13:20:07 +08:00
|
|
|
public override void OnInspectorGUI()
|
2020-05-21 08:32:52 +08:00
|
|
|
{
|
2021-11-23 13:20:07 +08:00
|
|
|
++EditorGUI.indentLevel;
|
|
|
|
|
PropertyTwoFiled("m_Center");
|
2022-09-14 07:13:45 +08:00
|
|
|
PropertyTwoFiled("m_Radius");
|
2021-11-23 13:20:07 +08:00
|
|
|
PropertyField("m_BackgroundColor");
|
|
|
|
|
--EditorGUI.indentLevel;
|
2020-05-21 08:32:52 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|