mirror of https://github.com/tuyoogame/YooAsset
parent
21fbb01ce4
commit
24c5108ce1
|
@ -20,7 +20,8 @@ namespace YooAsset.Editor
|
||||||
{
|
{
|
||||||
public bool IsCollectAsset(FilterRuleData data)
|
public bool IsCollectAsset(FilterRuleData data)
|
||||||
{
|
{
|
||||||
return Path.GetExtension(data.AssetPath) == ".unity";
|
string extension = Path.GetExtension(data.AssetPath);
|
||||||
|
return extension == ".unity" || extension == ".scene";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue