mirror of https://github.com/tuyoogame/YooAsset
Merge 84a336de2a
into f0ed677d86
commit
25a6f64923
|
@ -206,7 +206,9 @@ namespace YooAsset.Editor
|
||||||
for (int index = 0; index < manifest.BundleList.Count; index++)
|
for (int index = 0; index < manifest.BundleList.Count; index++)
|
||||||
{
|
{
|
||||||
var packageBundle = manifest.BundleList[index];
|
var packageBundle = manifest.BundleList[index];
|
||||||
if (_cacheBundleTags.TryGetValue(index, out var value))
|
foreach (var dependBundleID in packageBundle.DependIDs)
|
||||||
|
{
|
||||||
|
if (_cacheBundleTags.TryGetValue(dependBundleID, out var value))
|
||||||
{
|
{
|
||||||
packageBundle.Tags = value.ToArray();
|
packageBundle.Tags = value.ToArray();
|
||||||
}
|
}
|
||||||
|
@ -218,6 +220,7 @@ namespace YooAsset.Editor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
private void CacheBundleTags(int bundleID, string[] assetTags)
|
private void CacheBundleTags(int bundleID, string[] assetTags)
|
||||||
{
|
{
|
||||||
if (_cacheBundleTags.ContainsKey(bundleID) == false)
|
if (_cacheBundleTags.ContainsKey(bundleID) == false)
|
||||||
|
|
Loading…
Reference in New Issue