915 B
915 B
Developing logic transitions using State Graphs
Note
For versions 2019/2020 LTS, download the Visual Scripting package from the Unity Asset Store.
You can use State Graphs to change behaviors of GameObjects based on specific conditions.
Create a new state
After creating a new graph file, you can create states to tell Visual Scripting what a GameObject should do, and when.
Create a transition
Use transitions to tell Visual Scripting when a GameObject should change states. You can create transitions between just about any state type, and 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.