Documentation

Unity Engine

Download Unity

Unity Engine

GetSubgraphAsGraph()

Retrieves the subgraph linked to this state as a Graph.
Read time 1 minuteLast updated 2 months ago

Definition

Graph GetSubgraphAsGraph()

Returns

Type

Description

GraphThe Graph instance that this state references, or
null
if the referenced subgraph is a StateMachine (use ISubgraphState.GetSubgraphAsStateMachine instead) or no subgraph is set.