docs.unity3d.com
    Show / Hide Table of Contents

    Live Editing

    Note
    To use Bolt, which is Unity's visual scripting solution, download it from 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!

    Back to top
    Terms of use
    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