GetStateMachineAssetGUID(StateMachine)
Retrieves the globally unique identifier (GUID) for the asset associated with the specified StateMachine.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public static GUID GetStateMachineAssetGUID(StateMachine stateMachine)
Parameters
The state machine whose asset GUID you want to retrieve.
Returns
Type | Description |
|---|---|
| GUID | The GUID of the state machine asset. |
Remarks
This is the StateMachine counterpart of GraphDatabase.GetGraphAssetGUID.