class in Unity.GraphToolkit.Editor
/
Inherits from:Unity.GraphToolkit.Editor.NodeAttribute
Attribute used to specify metadata for a State class, such as its icon.
Apply this attribute to a class derived from State to define metadata like NodeAttribute.IconPath. This is the State counterpart of NodeAttribute.
| Constructor | Description |
|---|---|
| StateAttribute | Initializes a new instance of the StateAttribute class. |
| Property | Description |
|---|---|
| CategoryPath | The category path of this node in the graph item library. |
| IconPath | The file path to the node's icon. |
| Stylesheet | Path to a stylesheet (.uss) for customizing the appearance of the VisualElement of this node. |
| Title | The title of this node in the graph item library. |