Class DisplayNameAttribute
Use this attribute on fields and properties to change the display name shown when inspected.
Namespace: Unity.Properties.UI
Syntax
public class DisplayNameAttribute : InspectorAttribute
Constructors
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. |
Properties
Name
Name to display.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String |