ZMWSLI0-SL2021-GR11/Projekt/MWSProjekt/Library/PackageCache/com.unity.visualscripting@1.6.1/Documentation~/vs-concepts.md

29 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2021-07-05 21:20:56 +02:00
#Basic concepts in visual scripting
| **Note** |
| :----------------------------------------------------------- |
| For versions 2019/2020 LTS, download the visual scripting solution from the [Unity Asset Store](https://assetstore.unity.com/packages/tools/visual-bolt-163802). |
There are four basic concepts in visual scripting that are used when building games.
###Type
[Type](vs-types.md) is an attribute of data which informs the compiler on how to use the data. In scripting, everything is an Object: numbers, pieces of text, vectors, and Unity components are all objects.
###Variable
[Variables](vs-variables.md) are containers to store values and data. Each variable has a name, a type, and a value. The value inside a variable can change during runtime.
###Graphs, states and machines
[Graphs](vs-graphs-machines-macros.md) are visual representations of logic. They're at the core of visual scripting.
###Groups
Create [groups](vs-groups.md) to organize the graph. Groups are boxes that surround units.