Code authoring
Prefab patches can be registered without a visual variant. Both code frontends produce the same patch model, so they compose with visual patches and use the same diagnostics.
C# prefab patches covers
PrefabPatchBuilder, common targets, operations, references, and cache inputs.Lua prefab patches covers
PM:Prefab, scalar shortcuts, reusable targets, and coordination methods.
Use code authoring for compact or generated changes. Use Visual authoring when you need to inspect a hierarchy or manage several object references.