Documentation

Unity Engine

Download Unity

Unity Engine

GetStateMachineAssetGUID(StateMachine)

Retrieves the globally unique identifier (GUID) for the asset associated with the specified StateMachine.
Read time 1 minuteLast updated 2 months 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.