mirror of https://github.com/tuyoogame/YooAsset
Update AssetBundleCollector.cs
parent
fa572e6ae1
commit
008a3e1893
|
@ -280,8 +280,6 @@ namespace YooAsset.Editor
|
|||
|
||||
foreach (string dependPath in depends)
|
||||
{
|
||||
AssetInfo assetInfo = new AssetInfo(dependPath);
|
||||
|
||||
// 注意:排除资源自身
|
||||
if (dependPath == assetPath)
|
||||
continue;
|
||||
|
@ -296,6 +294,8 @@ namespace YooAsset.Editor
|
|||
continue;
|
||||
m_AssetStamps.Add(stamp);
|
||||
|
||||
AssetInfo assetInfo = new AssetInfo(dependPath);
|
||||
|
||||
//根据忽略规则排除
|
||||
if (command.IgnoreRule.IsIgnore(assetInfo))
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue