ScriptCompilerOptions

class in UnityEditor.Compilation

Switch to Manual

Description

Compiler options passed to the script compiler.

Variables

AllowUnsafeCodeAllow 'unsafe' code when compiling scripts.
ApiCompatibilityLevel ApiCompatibilityLevel for a given Assembly.
CodeOptimizationWhen enabled, performance optimizations are allowed for this assembly.
ResponseFilesArray of path to the response files that affects the current compilation.

Constructors

ScriptCompilerOptionsCreates ScriptCompilerOptions with default values used for script compilation.