LoadStateMachineForImporter<T>(string)
Loads a fresh instance of the StateMachine of type T from disk for use in the asset import pipeline.
읽는 시간 1분최근 업데이트: 2달 전
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.