A collection of Unity packages demonstrating game mechanics and use cases for Unity Visual Scripting (previously known as Bolt), which is now native to the editor as of Unity 2021.1.
All samples can be found in this repo's Releases section and are intended for the built-in version of Visual Scripting available in Unity versions 2021.1 and above. Similar projects compatible with the Asset Store version of Visual Scripting (for Unity versions 2018.1 - 2020.3) can be found over on Unity-Bolt-Samples.
The easiest way to get started:
-
Download one of the Unity Visual Scripting Samples from the Releases section.
-
Use the Unity Hub to open a new Unity 2021.1 (currently in Beta) project and make sure to follow any unique setup requirements listed for your selected sample.
-
In the Unity menu bar, navigate to Assets > Import Package > Custom Package & select the package you downloaded earlier to import it into your project. After this, you're all set!
This character ability demo features visual scripts for working with the Input System, Visual Effect Graph, Timeline, Cinemachine, Scriptable Objects, animations, physics, custom events, & UI.
A simple example of a 2D endless runner game. Includes visual scripts that handle basic physics, scoring, UI updates, & animations.
Download & Requirements
| Tutorial Video
Shows how to use C# scripts with Visual Scripting. Contains examples for using / customizing C# functions within visual scripts, custom unit creation, & accessing Visual Scripting events & variables in C# scripts.
🔜 Additional samples in the works! Official repository to be added mid-2021.
Check out these helpful resources as you embark on your Visual Scripting adventures:
🔎 Visual Scripting Feature Page - Contains a detailed overview of the tool & its features.
📁 Documentation for native-to-editor Visual Scripting - Detailed technical information and guides for working with Visual Scripting.
👀 Visual Scripting on the Unity Forums - A great place to post questions or catch the latest updates from the Visual Scripting team.
💬 Official Unity Visual Scripting Discord - Chat with other Visual Scripting users, ask questions, & show off your work.