Method GetDisplayTitle
GetDisplayTitle()
Sets the label for the component header. Override this method to provide a custom label. If you don't, Unity automatically obtains one from the class name.
Declaration
public virtual GUIContent GetDisplayTitle()
Returns
Type | Description |
---|---|
GUIContent | A label to display in the component header. |