ScriptCompilerOptions

class in UnityEditor.Compilation

/

Implemented in:UnityEditor

Description

Compiler options passed to the script compiler.

Properties

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.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答