| Parameter | Description |
|---|---|
| assetPath | The relative path for the new asset (e.g., "Assets/Graphs/MyStateMachine.mystatemachine"). |
T The created state machine instance.
Creates a new state machine asset of type T at the specified file path.
This is the StateMachine counterpart of GraphDatabase.CreateGraph.