GetStateMachineAssetPath(StateMachine)
Retrieves the file path of the asset associated with the specified StateMachine.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public static string GetStateMachineAssetPath(StateMachine stateMachine)
Parameters
The state machine whose asset path you want to retrieve.
Returns
Type | Description |
|---|---|
| string | The asset's file path. |
Remarks
This is the StateMachine counterpart of GraphDatabase.GetGraphAssetPath.