Getting Started
Package Types
Scene Setup
Economy
Scripting
Components
Guidelines
Support
Visual Scripting - Getting Started
What Is Visual Scripting?
Visual Scripting is a built-in Unity tool that allows you to create scripts or programs with a visual, node-based interface. Instead of writing lines of code, you create nodes and make connections to create mechanics and interactivity. The language of Unity’s Visual Scripting (VS) is structured very closely to C#, and is capable of creating very complex systems and interactivity.
Do I Need To Be a Programmer?
Visual Scripting is designed to be extremely friendly to artists and those not experienced with programming. Fundamentally VS is programming. But! The fact that you have found your self here, reading this paragraph, means you already have all the curiosity required to learn VS and become a programmer.
Creating Your First Graph
Script Machine
component.On this new component click the New
button to create a new Script Graph asset.
Once you create the asset you can click Edit Graph
to open the Graph Editor. Here you can start creating a function by dragging a connection out of the On Update
node.
In the video below we create a Transform.Rotate(XYZ)
node. This will result in a script that causes whatever object it is placed on to rotate every frame.
Learn How To Program
If you have questions feel free to reach out to the Spatial community, or even the Unity community at large. VS is a standard Unity tool, so all the information you need is usually a Google search away.
Spatial Scripting Limitations
← Previous