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

Class BuildReport

构建报告

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

Fields

Summary

汇总信息

Declaration
public ReportSummary Summary

AssetInfos

资源对象列表

Declaration
public List<ReportAssetInfo> AssetInfos

BundleInfos

资源包列表

Declaration
public List<ReportBundleInfo> BundleInfos

IndependAssets

未被依赖的资源列表

Declaration
public List<ReportIndependAsset> IndependAssets

Methods

GetBundleInfo(string)

获取资源包信息类

Declaration
public ReportBundleInfo GetBundleInfo(string bundleName)
Returns

YooAsset.Editor.ReportBundleInfo

Parameters
TypeName
System.StringbundleName

GetAssetInfo(string)

获取资源信息类

Declaration
public ReportAssetInfo GetAssetInfo(string assetPath)
Returns

YooAsset.Editor.ReportAssetInfo

Parameters
TypeName
System.StringassetPath

Serialize(string, BuildReport)

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

Deserialize(string)

Declaration
public static BuildReport Deserialize(string jsonData)
Returns

YooAsset.Editor.BuildReport

Parameters
TypeName
System.StringjsonData