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