update asset bundle builder

报告文件内增加资源包内嵌的资源列表
This commit is contained in:
hevinci
2023-03-13 19:36:17 +08:00
parent d60b0ea0ea
commit c9b775d8ff
6 changed files with 64 additions and 26 deletions
@@ -32,10 +32,10 @@ namespace YooAsset.Editor
if (bundleInfo.IsRawFile)
{
string dest = $"{pipelineOutputDirectory}/{bundleInfo.BundleName}";
foreach (var buildAsset in bundleInfo.BuildinAssets)
foreach (var assetInfo in bundleInfo.AllMainAssets)
{
if (buildAsset.IsRawAsset)
EditorTools.CopyFile(buildAsset.AssetPath, dest, true);
if (assetInfo.IsRawAsset)
EditorTools.CopyFile(assetInfo.AssetPath, dest, true);
}
}
}