Version 3.3.1.2

EnumDrawer<T> class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
public sealed class EnumDrawer<T> : OdinValueDrawer<T>
Enum property drawer.
Inheritance

Type Parameters

T

Constructors

EnumDrawer()
public EnumDrawer()

Methods

CanDrawTypeFilter(Type)
Returns true if the drawer can draw the type.
public override bool CanDrawTypeFilter(Type type)
Parameters
System.Type type

Returns
System.Boolean

DrawPropertyLayout(GUIContent)
Draws the property.
protected override void DrawPropertyLayout(GUIContent label)
Parameters
UnityEngine.GUIContent label

Extension Methods