Update AssetBundleBuilder

This commit is contained in:
hevinci
2022-03-16 11:33:45 +08:00
parent 6424a149bb
commit 299f770692
8 changed files with 44 additions and 4 deletions

View File

@@ -145,11 +145,11 @@ namespace YooAsset.Editor
Dictionary<string, BuildAssetInfo> buildAssets = new Dictionary<string, BuildAssetInfo>();
// 1. 获取主动收集的资源
List<AssetCollectInfo> allCollectInfos = AssetBundleCollectorSettingData.GetAllCollectAssets();
List<CollectAssetInfo> allCollectInfos = AssetBundleCollectorSettingData.GetAllCollectAssets();
// 2. 对收集的资源进行依赖分析
int progressValue = 0;
foreach (AssetCollectInfo collectInfo in allCollectInfos)
foreach (CollectAssetInfo collectInfo in allCollectInfos)
{
string mainAssetPath = collectInfo.AssetPath;