2021-01-11 08:54:28 +08:00
|
|
|
|
/************************************************/
|
|
|
|
|
|
/* */
|
|
|
|
|
|
/* Copyright (c) 2018 - 2021 monitor1394 */
|
|
|
|
|
|
/* https://github.com/monitor1394 */
|
|
|
|
|
|
/* */
|
|
|
|
|
|
/************************************************/
|
2019-10-22 04:09:04 +08:00
|
|
|
|
|
|
|
|
|
|
using UnityEditor;
|
2019-10-14 07:45:56 +08:00
|
|
|
|
|
|
|
|
|
|
namespace XCharts
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Editor class used to edit UI HeatmapChart.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[CustomEditor(typeof(HeatmapChart), false)]
|
|
|
|
|
|
public class HeatmapChartEditor : CoordinateChartEditor
|
|
|
|
|
|
{
|
|
|
|
|
|
protected override void OnEnable()
|
|
|
|
|
|
{
|
|
|
|
|
|
base.OnEnable();
|
2021-03-25 12:55:52 +08:00
|
|
|
|
if(target == null) return;
|
2021-01-11 08:54:28 +08:00
|
|
|
|
m_Chart = (HeatmapChart)target;
|
2019-10-14 07:45:56 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|