Constructor DisplayNameAttribute
DisplayNameAttribute(string)
Constructs a new instance of DisplayNameAttribute with the provided name.
Declaration
public DisplayNameAttribute(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name to use for the field or property in the inspector. |