Class TraitPropertyTypeAttribute
Use this attribute on TraitPropertyDefinition to specify the display name shown in the Inspector.
Inherited Members
Namespace: Unity.Semantic.Traits
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class TraitPropertyTypeAttribute : PropertyAttribute, _Attribute
Constructors
TraitPropertyTypeAttribute(String)
Specify a display name.
Declaration
public TraitPropertyTypeAttribute(string displayName)
Parameters
| Type | Name | Description |
|---|---|---|
| String | displayName | The name to display. |
Fields
displayName
Name to display in the Inspector.
Declaration
public readonly string displayName
Field Value
| Type | Description |
|---|---|
| String |