Version: 2020.3
Referencing additional class library assemblies
Scripting backends
How do you use documentation throughout your workflow? Share your experience with us by taking this survey.

C# compiler

To compile C# source code in a Unity Project, the Unity Editor uses a C# compiler.

Scripting Runtime Version C# compiler C# language version
.NET 4.6 equivalent Roslyn C# 8.0

The Editor passes a default set of options to the C# compiler. To pass additional options in your project, see the documentation for Platform Dependent Compilation.

Unsupported features

C# 8.0

Referencing additional class library assemblies
Scripting backends