Update AssetBundleCollector

增加配置表自我修复功能。
This commit is contained in:
hevinci
2022-09-22 11:40:30 +08:00
parent a89127df1d
commit 8cec0abf0e
6 changed files with 101 additions and 8 deletions

View File

@@ -30,6 +30,26 @@ namespace YooAsset.Editor
}
}
/// <summary>
/// 修复配置错误
/// </summary>
public bool FixConfigError()
{
bool result = false;
foreach (var group in Groups)
{
foreach (var collector in group.Collectors)
{
bool isFixed = collector.FixConfigError();
if (isFixed)
{
result = true;
}
}
}
return result;
}
/// <summary>
/// 获取所有的资源标签
/// </summary>