LoadStateMachineForImporter<T>(string)
Loads a fresh instance of the StateMachine of type T from disk for use in the asset import pipeline.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public static T LoadStateMachineForImporter<T>(string assetPath) where T : StateMachine
Parameters
The path to the state machine asset file.
Returns
Type | Description |
|---|---|
| T | A new instance of the state machine read directly from disk. |
Remarks
This is the StateMachine counterpart of GraphDatabase.LoadGraphForImporter.