Class DisplayNameAttribute
Specify a custom name to be used when displayed in the Editor.
Namespace: UnityEngine.Localization
Syntax
public class DisplayNameAttribute : Attribute
Examples
This example shows how Metadata can be given a custom name.
Constructors
DisplayNameAttribute(String)
Specify a custom name to be used when displayed in the Editor.
Declaration
public DisplayNameAttribute(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name |
Properties
Name
The custom name to use when displayed in the Editor.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| String |