AirControl
1.3.0
Open Source, Modular, and Extensible Flight Simulator For Deep Learning Research
BarChartEditor.cs
1
/************************************************/
2
/* */
3
/* Copyright (c) 2018 - 2021 monitor1394 */
4
/* https://github.com/monitor1394 */
5
/* */
6
/************************************************/
7
8
using
UnityEditor;
9
10
namespace
XCharts
11
{
15
16
[CustomEditor(typeof(BarChart),
false
)]
17
public
class
BarChartEditor
:
CoordinateChartEditor
18
{
19
protected
override
void
OnEnable()
20
{
21
base.OnEnable();
22
if
(target ==
null
)
return
;
23
m_Chart = (
BarChart
)target;
24
}
25
26
protected
override
void
OnEndInspectorGUI()
27
{
28
base.OnEndInspectorGUI();
29
if
(m_Chart ==
null
&& target ==
null
)
30
{
31
return
;
32
}
33
}
34
}
35
}
XCharts
Definition:
RewardChart.cs:14
XCharts.BarChart
Definition:
BarChart_API.cs:14
XCharts.BarChartEditor
Editor class used to edit UI BarChart.
Definition:
BarChartEditor.cs:17
XCharts.CoordinateChartEditor
Editor class used to edit UI CoordinateChart.
Definition:
CoordinateChartEditor.cs:17
Assets
XCharts
Editor
BarChartEditor.cs
Github
|
About
| Developed with ❤️ in India