判断分组不激活时,则不进行 CheckConfigError 的检测
parent
6758c974ce
commit
873c824839
|
@ -43,7 +43,10 @@ namespace YooAsset.Editor
|
||||||
{
|
{
|
||||||
if (AssetBundleCollectorSettingData.HasActiveRuleName(ActiveRuleName) == false)
|
if (AssetBundleCollectorSettingData.HasActiveRuleName(ActiveRuleName) == false)
|
||||||
throw new Exception($"Invalid {nameof(IActiveRule)} class type : {ActiveRuleName} in group : {GroupName}");
|
throw new Exception($"Invalid {nameof(IActiveRule)} class type : {ActiveRuleName} in group : {GroupName}");
|
||||||
|
|
||||||
|
// 当分组不是激活状态时,直接不进行检测
|
||||||
|
if (ActiveRuleName == nameof(DisableGroup)) return;
|
||||||
|
|
||||||
foreach (var collector in Collectors)
|
foreach (var collector in Collectors)
|
||||||
{
|
{
|
||||||
collector.CheckConfigError();
|
collector.CheckConfigError();
|
||||||
|
|
Loading…
Reference in New Issue