Authoring
Create and reshape C# declarations from the Round Trip editor.
On this page
A blank script is still a design problem: what owns the behavior, what values does it keep, and when does Unity call it? Round Trip gives those declaration decisions their own focused surfaces.
Authoring changes begin as drafts. You can inspect the graph and source-shaped preview, undo mistakes, and use Compile as the explicit point where the draft becomes C#.
- New class and method covers the Assets > Round Trip > New Class and Assets > Round Trip > New Method windows, and the + buttons that do the same inside the Round Trip Graphs window.
- Fields and defaults shows how fields, properties, declaration initializers, and the scoped default-value graph fit together.
- Lifecycle methods adds callbacks from the project’s configured Unity lifecycle catalog.
- Guards requires values before a method continues and previews the early-return shape.
- Rename changes an identity through the right-rail header while source stays untouched until Compile.
These tools do not hide C#. Each authoring surface is constrained by what can be written faithfully. If a declaration or body shape is outside that contract, Round Trip names the refusal and keeps the file unchanged.