Documentation

Unity Engine

Download Unity

Unity Engine

GetStateMachineAssetPath(StateMachine)

Retrieves the file path of the asset associated with the specified StateMachine.
Read time 1 minuteLast updated 2 months ago

Definition

public static string GetStateMachineAssetPath(StateMachine stateMachine)

Parameters

stateMachine

The state machine whose asset path you want to retrieve.

Returns

Type

Description

stringThe asset's file path.

Remarks

This is the StateMachine counterpart of GraphDatabase.GetGraphAssetPath.