13 [CustomPropertyDrawer(typeof(BaseLine),
true)]
16 public override string ClassName {
get {
return "Line"; } }
17 public override void OnGUI(
Rect pos, SerializedProperty prop, GUIContent label)
19 base.OnGUI(pos, prop, label);
20 if (MakeFoldout(prop,
"m_Show"))
22 ++EditorGUI.indentLevel;
24 PropertyField(prop,
"m_LineStyle");
25 --EditorGUI.indentLevel;
30 [CustomPropertyDrawer(typeof(
AxisLine),
true)]
33 public override string ClassName {
get {
return "AxisLine"; } }
34 protected override void DrawExtendeds(SerializedProperty prop)
36 base.DrawExtendeds(prop);
37 PropertyField(prop,
"m_OnZero");
38 PropertyField(prop,
"m_ShowArrow");
39 PropertyField(prop,
"m_Arrow");
46 public override string ClassName {
get {
return "SplitLine"; } }
47 protected override void DrawExtendeds(SerializedProperty prop)
49 base.DrawExtendeds(prop);
50 PropertyField(prop,
"m_Interval");
53 [CustomPropertyDrawer(typeof(
AxisTick),
true)]
56 public override string ClassName {
get {
return "AxisTick"; } }
57 protected override void DrawExtendeds(SerializedProperty prop)
59 base.DrawExtendeds(prop);
60 PropertyField(prop,
"m_AlignWithLabel");
61 PropertyField(prop,
"m_Inside");
62 PropertyField(prop,
"m_ShowStartTick");
63 PropertyField(prop,
"m_ShowEndTick");
70 public override string ClassName {
get {
return "Split Line"; } }
76 public override string ClassName {
get {
return "Axis Tick"; } }
77 protected override void DrawExtendeds(SerializedProperty prop)
79 base.DrawExtendeds(prop);
80 PropertyField(prop,
"m_SplitNumber");
87 public override string ClassName {
get {
return "Axis Line"; } }
88 protected override void DrawExtendeds(SerializedProperty prop)
90 base.DrawExtendeds(prop);
91 PropertyField(prop,
"m_BarColor");
92 PropertyField(prop,
"m_BarBackgroundColor");
93 PropertyField(prop,
"m_StageColor");