Version: 2022.1

CompilationPipeline.compilationFinished

切换到手册

参数

value 上下文对象,是用于比较编译开始和完成事件的临时存储。

描述

程序集编译完成时在主线程中调用的事件。

在最后一个 CompilationPipeline.assemblyCompilationFinished 事件后调用。
上下文对象可用于匹配 CompilationPipeline.compilationStartedCompilationPipeline.compilationFinished 事件。

Note: Performing Player builds or triggering additional compilation tasks from callbacks is not supported. This is because the global state of Unity that is required to perform a build is not guaranteed.