SW-Wiktor-Bombola/proj1/p1/Library/PackageCache/com.unity.visualscripting@1.6.1/Documentation~/vs-units-reference.md
2021-10-24 22:26:58 +02:00

1.3 KiB

#Unit reference

Note
For versions 2019/2020 LTS, download the visual scripting solution from the Unity Asset Store.

Units are the most basic element of computation in visual scripting. Units display the required information as text, but editing is done via the Inspector. To edit them, select any unit and edit its properties in the Inspector.

###This unit

The This unit returns the game object that owns the machine in which the graph runs.

###Control units

Control units branch, loop and merge the flow.

###Time units

Time units include timer, cooldown and wait units.

###Events

Scripting units listen for events. They are the starting point for all scripts and appear as special green units in graphs.

###Variables

These units get, set, and check variables.

###Nulls

Units that deal with the nulls, a.k.a. "nothing" value.

###Formulas

Formula evaluates logical and mathematical expressions directly via a textual Formula and match with multiple arguments.