Update AssetBundleCollector

修复无法识别.bank类似音频文件格式。
pull/40/head
hevinci 2022-08-29 12:11:16 +08:00
parent ea99232d3b
commit d47c0bf4b6
1 changed files with 2 additions and 0 deletions

View File

@ -200,11 +200,13 @@ namespace YooAsset.Editor
return false;
// 忽略Unity无法识别的无效文件
/*
if (type == typeof(UnityEditor.DefaultAsset))
{
UnityEngine.Debug.LogWarning($"Cannot pack default asset : {assetPath}");
return false;
}
*/
string ext = System.IO.Path.GetExtension(assetPath);
if (ext == "" || ext == ".dll" || ext == ".cs" || ext == ".js" || ext == ".boo" || ext == ".meta" || ext == ".cginc")