Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ISubgraphState

Interface for a specialized state that references a subgraph.
Read time 1 minuteLast updated 11 days ago

Definition

public interface ISubgraphState : IState

Remarks

A subgraph state acts as an entry point to another graph embedded within a StateMachine. The referenced subgraph can be either a regular Graph or another StateMachine. The owning state machine must support subgraphs through StateMachineOptions.SupportsSubgraphs.
See also:
  • IState for the members shared with every other kind of state

Methods

Method

Description

GetSubgraphAsGraphRetrieves the subgraph linked to this state as a Graph.
GetSubgraphAsStateMachineRetrieves the subgraph linked to this state as a StateMachine.

Inheritance