update asset bundle collector

适配团结引擎
pull/326/head
何冠峰 2024-07-09 16:33:41 +08:00
parent 21fbb01ce4
commit 24c5108ce1
1 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,8 @@ namespace YooAsset.Editor
{
public bool IsCollectAsset(FilterRuleData data)
{
return Path.GetExtension(data.AssetPath) == ".unity";
string extension = Path.GetExtension(data.AssetPath);
return extension == ".unity" || extension == ".scene";
}
}