docs.unity3d.com
    Show / Hide Table of Contents

    Basic concepts in visual scripting

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

    There are four basic concepts in visual scripting that are used when building games.

    Type

    Type 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 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 are visual representations of logic. They're at the core of visual scripting.

    Groups

    Create groups to organize the graph. Groups are boxes that surround units.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023