mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-19 14:50:10 +00:00
Update AssetBundleCollector.cs
打包忽略编辑器资产 LightmapParameters
This commit is contained in:
@@ -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;
|
||||
|
||||
// 检测原生文件是否合规
|
||||
|
||||
Reference in New Issue
Block a user