Archived
Private
Public Access
1
0
This repository has been archived on 2026-02-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ProjectBackup/Unity/Landmass Generation/Library/PackageCache/com.unity.visualscripting@1.7.6/Documentation~/vs-state-graphs-intro.md
2022-11-12 13:10:03 +01:00

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.