Method SetEnumValue
SetEnumValue<T>(SerializedProperty, T)
Helper to set an enum value to a SerializedProperty
Declaration
public static void SetEnumValue<T>(this SerializedProperty property, T value) where T : Enum
Parameters
| Type | Name | Description |
|---|---|---|
| SerializedProperty | property | |
| T | value | The Enum |
Type Parameters
| Name | Description |
|---|---|
| T | A valid Enum |