Class DecoratorAttribute | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class DecoratorAttribute

    Tells a AttributeDecorator class which inspector attribute it's a decorator for.

    Inheritance
    System.Object
    System.Attribute
    DecoratorAttribute
    Namespace: UnityEditor.Rendering.PostProcessing
    Syntax
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public sealed class DecoratorAttribute : Attribute, _Attribute

    Constructors

    DecoratorAttribute(Type)

    Creates a new attribute.

    Declaration
    public DecoratorAttribute(Type attributeType)
    Parameters
    Type Name Description
    System.Type attributeType

    The type that this decorator can inspect

    Fields

    attributeType

    The attribute type that this decorator can inspect.

    Declaration
    public readonly Type attributeType
    Field Value
    Type Description
    System.Type

    See Also

    AttributeDecorator
    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