mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-23 17:30:10 +00:00
增加GanttChart甘特图
This commit is contained in:
25
Editor/GanttChartEditor.cs
Normal file
25
Editor/GanttChartEditor.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
/************************************************/
|
||||
/* */
|
||||
/* Copyright (c) 2018 - 2021 monitor1394 */
|
||||
/* https://github.com/monitor1394 */
|
||||
/* */
|
||||
/************************************************/
|
||||
|
||||
using UnityEditor;
|
||||
|
||||
namespace XCharts
|
||||
{
|
||||
/// <summary>
|
||||
/// Editor class used to edit UI GanttChart.
|
||||
/// </summary>
|
||||
[CustomEditor(typeof(GanttChart), false)]
|
||||
public class GanttChartEditor : CoordinateChartEditor
|
||||
{
|
||||
protected override void OnEnable()
|
||||
{
|
||||
base.OnEnable();
|
||||
if(target == null) return;
|
||||
m_Chart = (GanttChart)target;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user