Aimbot-ParallelEnv/Assets/XCharts/Editor/MainComponents/PolarCoordEditor.cs

18 lines
462 B
C#
Raw Normal View History

2022-10-25 19:07:39 +00:00
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;
}
}
}