26 lines
676 B
C#
26 lines
676 B
C#
|
using XCharts.Runtime;
|
||
|
|
||
|
namespace XCharts.Editor
|
||
|
{
|
||
|
[SerieEditor(typeof(EffectScatter))]
|
||
|
public class EffectScatterEditor : SerieEditor<EffectScatter>
|
||
|
{
|
||
|
public override void OnCustomInspectorGUI()
|
||
|
{
|
||
|
if (serie.IsUseCoord<SingleAxisCoord>())
|
||
|
{
|
||
|
PropertyField("m_SingleAxisIndex");
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
PropertyField("m_XAxisIndex");
|
||
|
PropertyField("m_YAxisIndex");
|
||
|
}
|
||
|
PropertyField("m_Clip");
|
||
|
PropertyField("m_Symbol");
|
||
|
|
||
|
PropertyField("m_ItemStyle");
|
||
|
PropertyField("m_Animation");
|
||
|
}
|
||
|
}
|
||
|
}
|