SaveStateMachine(StateMachine)
Saves the asset of the specified StateMachine to disk if it has unsaved changes.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public static void SaveStateMachine(StateMachine stateMachine)
Parameters
The state machine to save.
Remarks
This is the StateMachine counterpart of GraphDatabase.SaveGraph.