文档

Unity Engine

Unity Engine

GetLatestReport()

Obtains the build report generated by the most recent Player, Content Directory, or AssetBundle build.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static BuildReport GetLatestReport()

Returns

Type

Description

BuildReportThe most recent BuildReport, or
null
if no build has been performed.

Remarks

For Player and Content Directory builds, the build report is loaded from the BuildHistory folder. For AssetBundle builds, the build report is loaded from
Library/LastBuild.buildreport
.
To access build reports from earlier builds, use the BuildHistory API.