Photon Fusion 2.0.9

Public Member Functions | Public Attributes | Properties | List of all members
SerializeReferenceTypePickerAttribute Class Reference

Attribute used to show a type picker for a field with [SerializeReference]. More...

Inherits DecoratingPropertyAttribute.

Public Member Functions

 SerializeReferenceTypePickerAttribute (params Type[] types)
 Initializes a new instance of the SerializeReferenceTypePickerAttribute class. More...
 

Public Attributes

bool GroupTypesByNamespace = true
 Should the types be grouped by namespace? More...
 
bool ShowFullName = false
 Should the full name be shown? More...
 

Properties

Type[] Types [get]
 Gets the types to be picked. More...
 

Additional Inherited Members

- Static Public Attributes inherited from DecoratingPropertyAttribute
const int DefaultOrder = -10000
 The default order of the attribute. More...
 
- Protected Member Functions inherited from DecoratingPropertyAttribute
 DecoratingPropertyAttribute (bool applyToCollection=false)
 Initializes a new instance with the default order. More...
 
 DecoratingPropertyAttribute (int order, bool applyToCollection=false)
 Initializes a new instance with the specified order. More...
 

Detailed Description

Attribute used to show a type picker for a field with [SerializeReference].

Constructor & Destructor Documentation

◆ SerializeReferenceTypePickerAttribute()

SerializeReferenceTypePickerAttribute ( params Type[]  types)

Initializes a new instance of the SerializeReferenceTypePickerAttribute class.

Parameters
typesThe types to be picked.

Member Data Documentation

◆ GroupTypesByNamespace

bool GroupTypesByNamespace = true

Should the types be grouped by namespace?

◆ ShowFullName

bool ShowFullName = false

Should the full name be shown?

Property Documentation

◆ Types

Type [] Types
get

Gets the types to be picked.