Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LoadStateMachineForImporter<T>(string)

Loads a fresh instance of the StateMachine of type T from disk for use in the asset import pipeline.
Read time 1 minuteLast updated 13 days ago

Definition

public static T LoadStateMachineForImporter<T>(string assetPath) where T : StateMachine

Parameters

assetPath

The path to the state machine asset file.

Returns

Type

Description

TA new instance of the state machine read directly from disk.

Remarks