Class EnumDrawer
[CustomSuperPropertyDrawer(typeof(Enum))]
public class EnumDrawer : SuperPropertyDrawer
- Inheritance
-
GUIDrawerEnumDrawer
- Inherited Members
Properties
BackgroundColor
public static Color BackgroundColor { get; }
Property Value
StyleTabActive
public static GUIStyle StyleTabActive { get; }
Property Value
StyleTabInactive
public static GUIStyle StyleTabInactive { get; }
Property Value
Methods
OnGUI(Rect, SuperSerializedProperty, GUIContent)
Override this method to make your own IMGUI based GUI for the property.
public override void OnGUI(Rect position, SuperSerializedProperty property, GUIContent label)
Parameters
position
RectRectangle on the screen to use for the property GUI.
property
SuperSerializedPropertyThe SuperSerializedProperty to make the custom GUI for.
label
GUIContentThe label of the property.