ISubgraphState
Interface for a specialized state that references a subgraph.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Interface
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
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 |
|---|---|
| GetSubgraphAsGraph | Retrieves the subgraph linked to this state as a Graph. |
| GetSubgraphAsStateMachine | Retrieves the subgraph linked to this state as a StateMachine. |