Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

ISubgraphState

interface in Unity.GraphToolkit.Editor


Implements interfaces:IState

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Interface for a specialized state that references a subgraph.

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


Public Methods

Method Description
GetSubgraphAsGraph Retrieves the subgraph linked to this state as a Graph.
GetSubgraphAsStateMachine Retrieves the subgraph linked to this state as a StateMachine.