Skip to content
Bit Quirky Round Trip
Visual Scripting

Search documentation

All topics and APIs

Close returns focus to Search.

What are you looking for?

Try a common topic or a C# feature.

Browse the reference instead

Esc closes · Tab reaches results · Enter opens the focused link

v1.0.0
Menu

Bit Quirky · Unity documentation

Visual scripting that
reads and writes real C#.

Round Trip is the only visual scripting tool for Unity that works directly on your C#. Open any script as a diagram, or draw a Blueprint-style visual script and Compile it to ordinary C#.

Edit the code and the diagram updates. When a teammate or an AI changes a script, read what they did visually; version control shows you what changed.

The code is the single source of truth. Work on the diagrams, in code, or both. You can even uninstall Round Trip with zero impact on your game. Unity uses the C# you generated.

Unity editor extensionBlueprint-style visual scriptingOrdinary .cs files
A C# if / else in FlowExamples.cs and, below it, the Branch node it becomes on the Round Trip canvas, calling ShowOpenGoal on true and ShowLockedGoal on false. Mint round-trip arrows loop from the code down to the canvas and from the canvas back up to the code.

The documentation starts here

What would you like to do?

A look inside Round Trip

See what you can do. Learn how to do it.

UnlockGoal as C# beside its matching diagram: a coin-count comparison, a branch, OpenGoal and RefreshHud.

One source of truth. Two ways to work.

Build a Blueprint-style visual script and Compile it to ordinary C#. Edit the C# in your IDE and see the result visually. A programmer and a designer can work on the same method, without an export step or a second executable format.

How code and canvas stay together
GameMaster.EndGame from God Complex as C#, with three statements sending glowing wires up into the nodes they became in the floating diagram above: the Assert, the outer if, and the Log.

Start with the scripts you already have.

A teammate, a tutorial, an asset, or an AI assistant: if it writes C#, you can open that code as a diagram. Follow the calls and branches before you change them. This is GameMaster.EndGame from God Complex, the multiplayer strategy game we develop Round Trip on.

Read a class you did not write
Three steps: a drafted Celebrate method wired to Bounce with the Previewing your changes panel, the lit Compile button, and PlayerMotor.cs with the four lines Compile wrote marked as added.

See your draft before it becomes code.

Create a method, connect nodes, and check the preview banner. Compile writes the change to your real script and reads it back onto the canvas. When a change cannot be written safely, a message names the reason instead of guessing.

Preview and Compile a change
CountdownAsync from God Complex as a floating diagram, with a lens lifting the Delay call and the AWAIT node after it, and the await line of the C# below sending a glowing wire into that lens.

Follow the language, not just the branches.

An await is one node on the exec path, so an async method with a loop and a delay inside it reads as the method it is. Coroutines and LINQ queries are drawn the same way. The support guide distinguishes what you can edit visually from the constructs you still need to edit in C#.

Explore supported C# and its limits
Two lenses zoomed out of a small Round Trip window: the Methods rail marking Configure and DieFromEnemy modified, LoseLife added and ValidateReadiness deleted, and the Changes list of three modified classes and one added, with the M, A and D marks explained between them.

Know what changed. Review it visually.

After a teammate or an assistant edits your scripts, changed classes and marked methods tell you where to look. Read the new logic on the canvas and compare it with your baseline. Works with Git, Unity Version Control, Perforce and Diversion.

Review code changed outside Unity
Coin.Collect shows its method summary in the side panel and yellow comment notes beside the nodes, with the matching C# comments below.

Keep the explanation with the code.

Write method and member comments in the side panel; they are saved as ordinary C# comments. Comments already inside a script appear beside their nodes on hover, so the reason for a guard or a call is there while you read the diagram.

Read and write comments

Your game stays yours

An editor tool. Not a runtime commitment.

Unity runs the C# in your project, not a proprietary visual scripting format. Nothing from Round Trip ships in your player build. Remove the tool and the code it wrote stays with you.

That also means readable version-control diffs, no interpreter, and no export step when a teammate wants to work in code.

Why C# is the source of truth

Go straight to the guide

More to build with. Nothing to hunt for.

  • Create the parts of your game

    New classes, methods, overloads, fields with defaults, guards, and Unity lifecycle methods. Small authoring windows write ordinary C#.

    Author classes and methods
  • Call your own components

    The action picker brings your methods and variables to the canvas. Get and set fields, pass arguments, and wire the result into the next call.

    Work with method calls
  • Find your way around

    Choose the folders to index. Search classes, public and private methods, and variables in the Explorer, then inspect the selected member in the side panel.

    Explore the window
  • Make your diagrams easy to read

    Snap to grid, align a selection, bend wires with knots, or start again with Auto layout. The arrangement is saved separately from your source.

    Arrange the canvas
  • Read the C# you use every day

    Branches, loops, switches, calls, typed values, and exception flow share the same visual language. Follow the white execution wire and the colored data wires.

    Meet the nodes and pins
  • Work as a team

    Programmers keep their IDEs. Designers work visually. Share diagram layouts when useful, keep personal preferences local, and review ordinary source diffs.

    Share code and layouts

Play it. Read it. Change it.

Learn on a game that already works.

The free Platformer learning project is a separate, playable 2D sample with coins, enemies, a score, and a locked goal. Open the methods behind the game, change a rule, and Compile it back to C#.

The tutorials use these same scripts, so you can follow along instead of starting from a blank canvas.

Explore the Platformer sample
The Platformer learning project. A real game to experiment on, with a guide to the code behind it.
The Platformer learning project. A real game to experiment on, with a guide to the code behind it.

Your first visual script is a good place to start.

New to Round Trip? Start with installation, or build your first method step by step. Considering it for a project? See exactly what is included and where the current limits are.

What is includedCurrent limitationsGet help

Full-size image