Class TraitGizmoAttribute
An attribute type for drawing gizmos on game objects with a given trait.
Namespace: Unity.Semantic.Traits
Syntax
public class TraitGizmoAttribute : Attribute, _Attribute
Constructors
TraitGizmoAttribute(Type)
Constructs a TraitGizmoAttribute.
Declaration
public TraitGizmoAttribute(Type traitType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | traitType | The type of trait for the associated gizmo. |