update asset bundle collector

导入时检测xml配置错误。
pull/86/head
hevinci 2023-03-24 16:25:45 +08:00
parent 290e139346
commit 19221480a0
1 changed files with 6 additions and 0 deletions

View File

@ -161,6 +161,12 @@ namespace YooAsset.Editor
}
}
// 检测配置错误
foreach(var package in packages)
{
package.CheckConfigError();
}
// 保存配置数据
AssetBundleCollectorSettingData.ClearAll();
AssetBundleCollectorSettingData.Setting.EnableAddressable = enableAddressable;