CogwheelUnity/Cogwheel/Library/PackageCache/com.unity.visualscripting@1.9.4/Documentation~/vs-state-graphs-intro.md
Spudnut2000 86e8b2168c Init
2024-10-01 23:23:13 -05:00

659 B

Develop logic transitions with State Graphs

You can use State Graphs to change behaviors of GameObjects based on specific conditions.

Create a new state

After you create a new graph file for a State Graph, you can create states to tell Visual Scripting what a GameObject does, and when.

Create a transition

Use transitions to tell Visual Scripting when a GameObject changes states. There's no restriction on how many transitions you can create.

State Unit nodes

You can use a State Unit node to nest a State Graph inside a Script Graph.