Files
XCharts/Assets/XCharts/Editor/Series/EffectScatterEditor.cs

35 lines
1.1 KiB
C#
Raw Normal View History

2021-11-23 13:20:07 +08:00
/************************************************/
/* */
/* Copyright (c) 2018 - 2021 monitor1394 */
/* https://github.com/monitor1394 */
/* */
/************************************************/
namespace XCharts
{
[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_IconStyle");
PropertyField("m_Label");
PropertyField("m_LabelLine");
PropertyField("m_Emphasis");
PropertyField("m_Animation");
}
}
}