mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-15 12:40:12 +00:00
35 lines
977 B
C#
35 lines
977 B
C#
/******************************************/
|
|
/* */
|
|
/* Copyright (c) 2018 monitor1394 */
|
|
/* https://github.com/monitor1394 */
|
|
/* */
|
|
/******************************************/
|
|
|
|
using UnityEditor;
|
|
|
|
namespace XCharts
|
|
{
|
|
/// <summary>
|
|
/// Editor class used to edit UI RadarChart.
|
|
/// </summary>
|
|
|
|
[CustomEditor(typeof(RadarChart), false)]
|
|
public class RadarChartEditor : BaseChartEditor
|
|
{
|
|
protected SerializedProperty m_Radar;
|
|
protected SerializedProperty m_Radars;
|
|
|
|
protected override void OnEnable()
|
|
{
|
|
base.OnEnable();
|
|
m_Target = (RadarChart)target;
|
|
m_Radars = serializedObject.FindProperty("m_Radars");
|
|
}
|
|
|
|
protected override void OnEndInspectorGUI()
|
|
{
|
|
base.OnEndInspectorGUI();
|
|
EditorGUILayout.PropertyField(m_Radars, true);
|
|
}
|
|
}
|
|
} |