기술 자료

Unity Engine

Unity Engine

OnPreprocessBuild(BuildReport)

Implement this method to receive a callback before the build is started.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

void OnPreprocessBuild(BuildReport report)

Parameters

A report containing information about the build, such as its target platform and output path.

Remarks

This method is invoked during Player builds only. Use IPreprocessBuildWithContext.OnPreprocessBuild instead, which is also invoked during AssetBundle and content directory builds.