Skip to main content

Roslyn

4 tools in this family (folder Editor/Tools/Roslyn/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
codecompile_compile_assemblydestructiveCompile one or more C# source units into a single in-memory assembly using Unity's
codecompile_evaldestructiveEvaluate C# with the full modern language via Unity's bundled Roslyn, compiled
codecompile_live_behaviourdestructiveCompile a full C# MonoBehaviour in-memory (Unity's bundled Roslyn) and AddComponent it
codecompile_statusread-onlyReport Live C# (Roslyn) health: whether Unity's bundled Roslyn is available, its