Rasagar/Library/PackageCache/com.unity.visualscripting/Documentation~/vs-nesting-nodes.md
2024-08-26 23:07:20 +03:00

1.1 KiB

Nesting nodes

Use the following nodes to work with nesting Subgraphs and State Units in a Script Graph.

For more information on Subgraphs and State Units, see Subgraphs and State Units.

Node Description
Input node Use an Input node to control the flow of logic and data from a Script Graph's Subgraph node. An Input node takes data from a parent graph and makes it available to a Subgraph.
Output node Use an Output node to control the flow of logic and data from a Script Graph's Subgraph node. An Output node sends data from a Subgraph and makes it available to a parent graph.
State Unit node Use a State Unit node like a Subgraph. The node references and triggers a State Graph as a State Unit inside a Script Graph.
Subgraph node Use a Subgraph node to reference and trigger another Script Graph's logic from inside a parent Script Graph.