docs.unity.cn
    Show / Hide Table of Contents

    Class DescriptionAttribute

    An attribute placed on enum values to provide a user friendly description of the enum value.

    Inheritance
    Object
    Attribute
    PropertyAttribute
    DescriptionAttribute
    Inherited Members
    PropertyAttribute.order
    Namespace: Unity.LiveCapture
    Syntax
    [AttributeUsage(AttributeTargets.Field)]
    public class DescriptionAttribute : PropertyAttribute, _Attribute

    Constructors

    DescriptionAttribute(String)

    Creates a new DescriptionAttribute instance.

    Declaration
    public DescriptionAttribute(string description)
    Parameters
    Type Name Description
    String description

    The description of the enum value

    Fields

    Description

    The description of the enum value.

    Declaration
    public readonly string Description
    Field Value
    Type Description
    String
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, August 26, 2022
    Terms of use