Dynamically compiles and executes C# code within Unity using Roslyn. It supports both full class definitions and simplified method body injection, allowing Unity object references to be passed as parameters.