8 using System.Collections.Generic;
14 [CustomPropertyDrawer(typeof(Emphasis),
true)]
17 public override string ClassName {
get {
return "Emphasis"; } }
18 public override void OnGUI(
Rect pos, SerializedProperty prop, GUIContent label)
20 base.OnGUI(pos, prop, label);
21 if (MakeFoldout(prop,
"m_Show"))
23 ++EditorGUI.indentLevel;
24 PropertyField(prop,
"m_Label");
25 PropertyField(prop,
"m_ItemStyle");
26 --EditorGUI.indentLevel;