ドキュメント

Unity Engine

Unity Engine

AddPreviousBuildReportDirectory(string)

Adds a build report directory to BuildPlayerOptions.previousBuildReportDirectories for this build.
読み終わるまでの所要時間 1 分最終更新 18日前

Definition

public void AddPreviousBuildReportDirectory(string directory)

Parameters

directory

The path to a build report directory. If the path is invalid, an error will be thrown during the build process.

Remarks

This is useful if you want the player build to retrieve type stripping information from BuildPipeline.BuildContentDirectory builds you do prior to the Player build.
If this method is called on the same path multiple times, the path is only added once.
If the path passed into this method is not a valid build report directory, at build time an error will be thrown.
For more information on locating the build report directory for a build, refer to BuildHistory.
For more information, refer to How code stripping affects content.