# ScriptCompiler

> Represents different C# compilers that can be used to compile C# scripts.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

> **Warning:**
>
> **Deprecated.** Mono script compiler is no longer supported.

```csharp
public enum ScriptCompiler
```

## Fields

| Value                                                                          | Description         |
| ------------------------------------------------------------------------------ | ------------------- |
| [Mono](/engine/6000.0/script-reference/unityeditor/scriptcompiler/mono.md)     | Mono C# Compiler.   |
| [Roslyn](/engine/6000.0/script-reference/unityeditor/scriptcompiler/roslyn.md) | Roslyn C# Compiler. |
