Update AssetBundleCollector

pull/40/head
hevinci 2022-08-22 19:12:55 +08:00
parent fbbf762e70
commit 16f8592497
1 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ namespace YooAsset.Editor
if (result.ContainsKey(assetInfo.AssetPath) == false) if (result.ContainsKey(assetInfo.AssetPath) == false)
result.Add(assetInfo.AssetPath, assetInfo); result.Add(assetInfo.AssetPath, assetInfo);
else else
throw new Exception($"The collecting asset file is existed : {assetInfo.AssetPath} in group setting."); throw new Exception($"The collecting asset file is existed : {assetInfo.AssetPath}");
} }
} }
@ -90,7 +90,7 @@ namespace YooAsset.Editor
if (adressTemper.Contains(address) == false) if (adressTemper.Contains(address) == false)
adressTemper.Add(address); adressTemper.Add(address);
else else
throw new Exception($"The address is existed : {address} in group setting."); throw new Exception($"The address is existed : {address}");
} }
} }
} }