Update editor code

pull/51/head
hevinci 2022-09-29 15:06:03 +08:00
parent 4ece14e921
commit 46c219505f
2 changed files with 3 additions and 3 deletions

View File

@ -259,7 +259,7 @@ namespace YooAsset.Editor
{ {
_dependListView.Clear(); _dependListView.Clear();
_dependListView.ClearSelection(); _dependListView.ClearSelection();
_dependListView.itemsSource = providerInfo.BundleInfos; _dependListView.itemsSource = providerInfo.DependBundleInfos;
_dependListView.Rebuild(); _dependListView.Rebuild();
} }
} }

View File

@ -75,7 +75,7 @@ namespace YooAsset.Editor
Dictionary<string, DebugBundleInfo> result = new Dictionary<string, DebugBundleInfo>(debugReport.ProviderInfos.Count); Dictionary<string, DebugBundleInfo> result = new Dictionary<string, DebugBundleInfo>(debugReport.ProviderInfos.Count);
foreach (var providerInfo in debugReport.ProviderInfos) foreach (var providerInfo in debugReport.ProviderInfos)
{ {
foreach (var bundleInfo in providerInfo.BundleInfos) foreach (var bundleInfo in providerInfo.DependBundleInfos)
{ {
if (string.IsNullOrEmpty(searchKeyWord) == false) if (string.IsNullOrEmpty(searchKeyWord) == false)
{ {
@ -264,7 +264,7 @@ namespace YooAsset.Editor
List<DebugProviderInfo> source = new List<DebugProviderInfo>(); List<DebugProviderInfo> source = new List<DebugProviderInfo>();
foreach (var providerInfo in _debugReport.ProviderInfos) foreach (var providerInfo in _debugReport.ProviderInfos)
{ {
foreach (var bundleInfo in providerInfo.BundleInfos) foreach (var bundleInfo in providerInfo.DependBundleInfos)
{ {
if (bundleInfo.BundleName == bundleName) if (bundleInfo.BundleName == bundleName)
{ {