Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ScriptCompilationOptions

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Script compilation options.

Note: this enum and its values exist to provide low-level support for the Scriptable Build Pipeline package. This is intended for internal use only; use the Scriptable Build Pipeline package to implement a fully featured build pipeline. You can install this via the Unity Package Manager.

Properties

NoneCompiled the scripts without any special settings.
DevelopmentBuildBuild a development version of the scripts.
AssertionsInclude assertions in the compiled scripts. By default, the assertions are only included in development builds.