Visual scripting

Visual scripting in Unity empowers creators to develop gameplay mechanics or interaction logic with a visual, graph-based system, instead of writing traditional lines of code.

Regardez notre tutoriel

Want to get started with visual scripting as quickly as possible? This quick-start tutorial introduces the basics of visual scripting to help you make your own games with node-based logic.

Programmation de script visuel Bolt dans Unity

Programmation de scripts accessible à tous

Visual scripting in Unity helps team members create scripting logic with visual, drag-and-drop graphs instead of hand-writing code. It also enables more seamless collaboration between programmers, artists, and designers for faster prototyping and iteration.

Programmation de scripts pour concepteurs et artistes

C'est un choix judicieux pour les concepteurs et les artistes qui souhaitent tester des idées, effectuer des changements ou conserver un contrôle plus rapproché sur leur projets dans Unity. Les membres qui ne sont pas spécialisés en programmation peuvent également utiliser les graphes de nœuds réalisés par d'autres membres de l'équipe technique.

Accélérez le prototypage et la phase de test pour les développeurs

Travail plus rapide pour les programmeurs

Using a visual scripting system can increase the speed of prototyping and testing for developers, avoiding wasted effort on handwritten code for ideas that might not be viable. Visual scripting is also a great way to make existing scripts more accessible or create tools for use by other members of a development team.

Avantages clés

Graphes de flux

Les graphes de flux sont les outils principaux de création des interactions dans vos projets. Grâce aux actions et aux valeurs basées sur des nœuds, ces graphes vous permettent d'exécuter votre logique selon l'ordre que vous indiquerez, de l'appliquer sur chaque image ou lorsqu'un événement survient.

Graphes d'état

Les graphes d'état vous permettent de réaliser des comportements autonomes indiquant aux objets quelle action ils doivent effectuer quand ils sont dans une situation particulière. Ils sont conçus pour une logique de haut niveau telle que des comportements d'IA, une structure de scène ou de niveau ou tout autre aspect d'un scène nécessitant des comportements pour passer d'un état à un autre.

Modifications en direct

Make changes to graphs in Play Mode to see visual scripting updates in real-time. This offers a much faster way to iterate and test ideas without needing to recompile project changes.

Débogage et analyse prédictifs

Predict and indicate nodes that will crash before you even press play, and analyze your graphs to anticipate missing components or null references. If an error occurs at runtime, visual scripting will pinpoint its source by highlighting it in the graph.

Conçue pour une plus grande facilité d'utilisation

Visual scripting is designed to be accessible for less technical creators through user-friendly naming conventions, commenting and grouping features that keep graphs simple to read, and the Fuzzy Finder, which makes it easy to search for what you need.

Compatibilité avec votre base de code

Use a method, field, property, or event from Unity, any third-party plugin, or even custom scripts within your graphs. Visual scripting directly accesses your codebase via reflection and is always up to date.

Questions les plus fréquentes

Qu'est-ce que la programmation de scripts visuels ?

Visual scripting is a graphical way to manipulate objects and behaviors in Unity without hand-writing code. The logic is built by connecting visual nodes together, empowering artists, designers, and programmers to create gameplay and interactive systems in a simple way.

How can I access visual scripting?

From the 2021.1 release and onward, visual scripting is included in the Package Manager, and shipped with the Unity Editor.

For 2019 LTS and 2020 LTS releases, Bolt Visual Scripting can be found on the Unity Asset Store to download for free.

Qu'est-ce que la Unity Asset Store ?

The Unity Asset Store is a marketplace with thousands of free or affordably priced assets that save time and effort for Unity creators. It is a powerful resource for successful Unity developers that offers over 60,000 packs featuring tools and Editor extensions, 3D and 2D art, cinematic quality music and sound effects, and more.

What versions of Unity does Bolt Visual Scripting support?

Bolt Visual Scripting will continue to support projects on Unity 2018, 2019, and 2020 LTS versions.

Comment la programmation de scripts visuels va-t-elle évoluer dans Unity ?

From the 2021.1 release and onwards, Unity will provide visual scripting as a core feature, included with the Unity Editor by default.

What about DOTS-based visual scripting?

Unity is in the process of evaluating the future of visual scripting in consideration of Bolt, Bolt 2, and our DOTS-based visual scripting solution. Our goal is to create a single, cohesive solution that does not result in broken features or fractured communities, and that meets user expectations around production-readiness. For more information on the evolution of visual scripting, please join us in the forums.

Ce site utilise des cookies dans le but de vous offrir la meilleure expérience possible. Consultez notre politique de cookies pour en savoir plus.

Compris