Version: 2020.2

ScriptCompilerOptions.AdditionalCompilerArguments

切换到手册
public string[] AdditionalCompilerArguments ;

描述

Additional compiler arguments.

Compiler arguments must be preceded by a dash (-) or a slash (/).

To get a list of available compiler arguments, see Microsoft's official documentation on compiler options.

Example: -nowarn:1234 or /nowarn:1234.