Version: 2022.1

RequestScriptCompilationOptions

enumeration

切换到手册

描述

Options for specifying the behavior of CompilationPipeline.RequestScriptCompilation.

变量

NoneThe default behavior. Unity will only recompile scripts that have changed, or that need recompiling due to changes in settings that affect script compilation.
CleanBuildCacheClear all cached build results, resulting in a full rebuild of all scripts.