update asset bundle builder

pull/72/head
hevinci 2023-02-27 19:10:56 +08:00
parent 091b46ccaf
commit 7c4dbb1f38
2 changed files with 6 additions and 0 deletions

View File

@ -48,6 +48,11 @@ namespace YooAsset.Editor
/// </summary>
public string[] Tags;
/// <summary>
/// 引用该资源包的ID列表
/// </summary>
public int[] ReferenceIDs;
/// <summary>
/// 获取资源分类标签的字符串
/// </summary>

View File

@ -94,6 +94,7 @@ namespace YooAsset.Editor
reportBundleInfo.FileCRC = patchBundle.FileCRC;
reportBundleInfo.FileSize = patchBundle.FileSize;
reportBundleInfo.Tags = patchBundle.Tags;
reportBundleInfo.ReferenceIDs = patchBundle.ReferenceIDs;
reportBundleInfo.IsRawFile = patchBundle.IsRawFile;
reportBundleInfo.LoadMethod = (EBundleLoadMethod)patchBundle.LoadMethod;
buildReport.BundleInfos.Add(reportBundleInfo);