Class DisplayNameAttribute
Use this attribute to change the label of a field displayed in the inspector.
Inherited Members
Namespace: UnityEngine.Rendering.PostProcessing
Assembly: Unity.Postprocessing.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public sealed class DisplayNameAttribute : Attribute
Constructors
DisplayNameAttribute(string)
Creates a new attribute.
Declaration
public DisplayNameAttribute(string displayName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | displayName | The label to display in the inspector |
Fields
displayName
The label displayed in the inspector.
Declaration
public readonly string displayName
Field Value
| Type | Description |
|---|---|
| string |