Method DrawEnumPopup
DrawEnumPopup<TEnum>(Rect, GUIContent, SerializedProperty)
Draws an EnumPopup(Rect, Enum) for the given property
Declaration
public static void DrawEnumPopup<TEnum>(Rect rect, GUIContent label, SerializedProperty serializedProperty) where TEnum : Enum
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | rect | The rect where the drop down will be drawn |
| GUIContent | label | The label for the drop down |
| SerializedProperty | serializedProperty | The SerializedProperty to modify |
Type Parameters
| Name | Description |
|---|---|
| TEnum |
DrawEnumPopup(SerializedProperty, Type, GUIContent)
Draw an EnumPopup handling multiEdition
Declaration
public static void DrawEnumPopup(SerializedProperty property, Type type, GUIContent label = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializedProperty | property | The data displayed |
| Type | type | Type of the property |
| GUIContent | label | The label |