# RequestScriptCompilationOptions

> Options for specifying the behavior of CompilationPipeline.RequestScriptCompilation.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor.Compilation](/engine/6000.7/script-reference/unityeditor/compilation.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
[Flags]
public enum RequestScriptCompilationOptions
```

## Fields

| Value                                                                                                                         | Description                                                                                                                                                    |
| ----------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [CleanBuildCache](/engine/6000.7/script-reference/unityeditor/compilation/requestscriptcompilationoptions/cleanbuildcache.md) | Clear all cached build results, resulting in a full rebuild of all scripts.                                                                                    |
| [None](/engine/6000.7/script-reference/unityeditor/compilation/requestscriptcompilationoptions/none.md)                       | The default behavior. Unity will only recompile scripts that have changed, or that need recompiling due to changes in settings that affect script compilation. |
