mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-26 02:30:18 +00:00
Update AssetBundleCollector.cs
打包忽略编辑器资产 LightmapParameters
This commit is contained in:
@@ -251,7 +251,7 @@ namespace YooAsset.Editor
|
|||||||
|
|
||||||
// 忽略编辑器下的类型资源
|
// 忽略编辑器下的类型资源
|
||||||
Type assetType = AssetDatabase.GetMainAssetTypeAtPath(assetPath);
|
Type assetType = AssetDatabase.GetMainAssetTypeAtPath(assetPath);
|
||||||
if (assetType == typeof(LightingDataAsset))
|
if (assetType == typeof(LightingDataAsset) || assetType == typeof(LightmapParameters))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// 检测原生文件是否合规
|
// 检测原生文件是否合规
|
||||||
|
|||||||
Reference in New Issue
Block a user