mirror of https://github.com/tuyoogame/YooAsset
如果依赖的是运行时以外的,不打入 share AssetBundle包
parent
fb5e289de0
commit
5df26908fb
|
@ -184,6 +184,8 @@ namespace YooAsset.Editor
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_referenceBundleNames.Count > 1)
|
if (_referenceBundleNames.Count > 1)
|
||||||
|
{
|
||||||
|
if (!AssetPath.Contains("/Editor/") && !AssetPath.Contains("/Gizmos/"))
|
||||||
{
|
{
|
||||||
IPackRule packRule = PackDirectory.StaticPackRule;
|
IPackRule packRule = PackDirectory.StaticPackRule;
|
||||||
var bundleName = packRule.GetBundleName(new PackRuleData(AssetPath));
|
var bundleName = packRule.GetBundleName(new PackRuleData(AssetPath));
|
||||||
|
@ -191,6 +193,7 @@ namespace YooAsset.Editor
|
||||||
_shareBundleName = EditorTools.GetRegularPath(shareBundleName).ToLower();
|
_shareBundleName = EditorTools.GetRegularPath(shareBundleName).ToLower();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (IsRawAsset)
|
if (IsRawAsset)
|
||||||
|
|
Loading…
Reference in New Issue