mlyDevMerge1.5.7
hevinci 2023-08-18 17:40:55 +08:00 committed by QiJing
parent 95782c8aba
commit b95d4a166a
1 changed files with 5 additions and 3 deletions

View File

@ -340,10 +340,12 @@ namespace YooAsset.Editor
List<string> result = new List<string>(depends.Length);
foreach (string assetPath in depends)
{
// 注意:排除主资源对象
if (assetPath == mainAssetPath)
continue;
if (IsValidateAsset(assetPath, false))
{
// 注意:排除主资源对象
if (assetPath != mainAssetPath)
result.Add(assetPath);
}
}