Constructor DisplayNameAttribute
DisplayNameAttribute(string, string)
Specify a custom name to display in the Editor.
Declaration
public DisplayNameAttribute(string name, string iconPath = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name to display. |
| string | iconPath | Optional icon to display when possible. |