Class DecoratorAttribute
Tells a AttributeDecorator class which inspector attribute it's a decorator for.
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 |
|---|---|---|
| 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 |
|---|---|
| Type |