Version: 2019.3
Advanced Topics
Building for Mobile / Consoles

Live Editing

Note
To use Bolt, which is Unity’s visual scripting solution, you must purchase it on the Unity Asset Store.

Bolt supports full live editing, meaning you can create and edit graphs while in play mode.

You’re not limited to tweaking values — you can also add and remove nodes, connections, etc.

In accordance with the Unity convention:

  • Changes made to embeds will be reverted when you exit play mode, because they live inside components.
  • Changes made to macros will be saved when you exit play mode, because they live inside assets

If you want to preserve the changes made to a component graph, make sure to copy the modified nodes before exiting play mode. You’ll then be able to paste them while in edit mode.

When in live mode, Bolt will display the flow as droplets on connections:

You can disable these animations on either the value connections, the control connections or both from the editor preferences window:

Persistence

Unlike traditional Unity components, Bolt macros save the changes you make during play mode.

Propagation

Changes made to macros will instantly be shared across all instances of that macro!

Advanced Topics
Building for Mobile / Consoles
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961