优化GaugeChart和RingChart的label初始化

This commit is contained in:
monitor1394
2020-04-24 12:34:20 +08:00
parent 6cdeb2516b
commit e512d27784
5 changed files with 42 additions and 1 deletions

View File

@@ -0,0 +1,28 @@
/******************************************/
/* */
/* Copyright (c) 2018 monitor1394 */
/* https://github.com/monitor1394 */
/* */
/******************************************/
using UnityEditor;
namespace XCharts
{
/// <summary>
/// Editor class used to edit UI RingChart.
/// </summary>
[CustomEditor(typeof(RingChart), false)]
public class RingChartEditor : BaseChartEditor
{
protected SerializedProperty m_Radar;
protected SerializedProperty m_Radars;
protected override void OnEnable()
{
base.OnEnable();
m_Target = (RingChart)target;
}
}
}