We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df25a1a commit aad8ff3Copy full SHA for aad8ff3
UnityProject/Packages/YooAsset/Editor/AssetBundleCollector/DefaultRules/DefaultIgnoreRule.cs
@@ -33,6 +33,14 @@ public bool IsIgnore(AssetInfo assetInfo)
33
if (AssetDatabase.IsValidFolder(assetInfo.AssetPath))
34
return true;
35
36
+ // 忽略编辑器图标资源
37
+ if (assetInfo.AssetPath.Contains("/Gizmos/"))
38
+ return true;
39
+
40
+ // 忽略编辑器专属资源
41
+ if (assetInfo.AssetPath.Contains("/Editor/") || assetInfo.AssetPath.Contains("/Editor Resources/"))
42
43
44
// 忽略编辑器下的类型资源
45
if (assetInfo.AssetType == typeof(LightingDataAsset))
46
0 commit comments