Update AssetBundleCollector.cs

打包忽略编辑器资产 LightmapParameters
This commit is contained in:
hevinci
2024-03-11 11:28:42 +08:00
parent 23931e5d58
commit 135d5b4f5b

View File

@@ -251,7 +251,7 @@ namespace YooAsset.Editor
// 忽略编辑器下的类型资源
Type assetType = AssetDatabase.GetMainAssetTypeAtPath(assetPath);
if (assetType == typeof(LightingDataAsset))
if (assetType == typeof(LightingDataAsset) || assetType == typeof(LightmapParameters))
return false;
// 检测原生文件是否合规