Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetSubgraphAsGraph()

Retrieves the subgraph linked to this state as a Graph.
Read time 1 minuteLast updated 13 days 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.