Class DisplayNameAttribute
Use this attribute to change the label of a field displayed in the inspector.
Namespace: UnityEngine.Rendering.PostProcessing
Syntax
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public sealed class DisplayNameAttribute : Attribute, _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 |