Class EnumReferenceProperty
Enum reference property type definition
Namespace: Unity.Semantic.Traits
Syntax
[Serializable]
public class EnumReferenceProperty : TraitPropertyDefinition, INamedProperty
Properties
Reference
Enumeration asset reference
Declaration
public EnumDefinition Reference { get; set; }
Property Value
| Type | Description |
|---|---|
| EnumDefinition |
Type
Type of data stored by the definition
Declaration
public override Type Type { get; }
Property Value
| Type | Description |
|---|---|
| Type |
Overrides
Value
Unique Id of the enumeration value
Declaration
public int Value { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |