跳到主要内容
版本:2.2.x

Class BuildReport

构建报告

Assembly: YooAsset.Editor.dll
View Source
Declaration
[Serializable]
public class BuildReport

Fields

Summary

汇总信息

View Source
Declaration
public ReportSummary Summary

AssetInfos

资源对象列表

View Source
Declaration
public List<ReportAssetInfo> AssetInfos

BundleInfos

资源包列表

View Source
Declaration
public List<ReportBundleInfo> BundleInfos

Methods

GetBundleInfo(string)

获取资源包信息类

View Source
Declaration
public ReportBundleInfo GetBundleInfo(string bundleName)
Returns

YooAsset.Editor.ReportBundleInfo

Parameters
TypeName
System.StringbundleName

GetAssetInfo(string)

获取资源信息类

View Source
Declaration
public ReportAssetInfo GetAssetInfo(string assetPath)
Returns

YooAsset.Editor.ReportAssetInfo

Parameters
TypeName
System.StringassetPath

Serialize(string, BuildReport)

View Source
Declaration
public static void Serialize(string savePath, BuildReport buildReport)
Parameters
TypeName
System.StringsavePath
YooAsset.Editor.BuildReportbuildReport

Deserialize(string)

View Source
Declaration
public static BuildReport Deserialize(string jsonData)
Returns

YooAsset.Editor.BuildReport

Parameters
TypeName
System.StringjsonData