Class EnumReferenceProperty | Semantic Traits | 0.2.8-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class EnumReferenceProperty

    Enum reference property type definition

    Inheritance
    Object
    TraitPropertyDefinition
    EnumReferenceProperty
    Inherited Members
    TraitPropertyDefinition.Id
    TraitPropertyDefinition.Name
    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
    TraitPropertyDefinition.Type

    Value

    Unique Id of the enumeration value

    Declaration
    public int Value { get; set; }
    Property Value
    Type Description
    Int32
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023