Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetStateMachineAssetGUID(StateMachine)

Retrieves the globally unique identifier (GUID) for the asset associated with the specified StateMachine.
Read time 1 minuteLast updated 11 days ago

Definition

public static GUID GetStateMachineAssetGUID(StateMachine stateMachine)

Parameters

stateMachine

The state machine whose asset GUID you want to retrieve.

Returns

Type

Description

GUIDThe GUID of the state machine asset.

Remarks

This is the StateMachine counterpart of GraphDatabase.GetGraphAssetGUID.