mirror of https://github.com/tuyoogame/YooAsset
parent
ea99232d3b
commit
d47c0bf4b6
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue