Attribute used to show a type picker for a field with [SerializeReference].
More...
Inherits DecoratingPropertyAttribute.
|
| | SerializeReferenceTypePickerAttribute (params Type[] types) |
| | Initializes a new instance of the SerializeReferenceTypePickerAttribute class.
|
|
| PropertyAttribute (bool applyToCollection=false) |
|
|
bool | GroupTypesByNamespace = true |
| | Should the types be grouped by namespace?
|
|
bool | ShowFullName = false |
| | Should the full name be shown?
|
|
|
Type[] | Types [get] |
| | Gets the types to be picked.
|
|
new bool | applyToCollection [get] |
|
|
const int | DefaultOrder = -10000 |
| | The default order of the attribute.
|
|
| DecoratingPropertyAttribute (bool applyToCollection=false) |
| | Initializes a new instance with the default order.
|
|
| DecoratingPropertyAttribute (int order, bool applyToCollection=false) |
| | Initializes a new instance with the specified order.
|
Attribute used to show a type picker for a field with [SerializeReference].
◆ SerializeReferenceTypePickerAttribute()
| SerializeReferenceTypePickerAttribute |
( |
params Type[] | types | ) |
|
Initializes a new instance of the SerializeReferenceTypePickerAttribute class.
- Parameters
-
| types | The types to be picked. |