From 46c219505f9d4c41c093ad73d2b18c69df9ea52b Mon Sep 17 00:00:00 2001 From: hevinci Date: Thu, 29 Sep 2022 15:06:03 +0800 Subject: [PATCH] Update editor code --- .../VisualViewers/DebuggerAssetListViewer.cs | 2 +- .../VisualViewers/DebuggerBundleListViewer.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/YooAsset/Editor/AssetBundleDebugger/VisualViewers/DebuggerAssetListViewer.cs b/Assets/YooAsset/Editor/AssetBundleDebugger/VisualViewers/DebuggerAssetListViewer.cs index b28dfe7..5bdf1d3 100644 --- a/Assets/YooAsset/Editor/AssetBundleDebugger/VisualViewers/DebuggerAssetListViewer.cs +++ b/Assets/YooAsset/Editor/AssetBundleDebugger/VisualViewers/DebuggerAssetListViewer.cs @@ -259,7 +259,7 @@ namespace YooAsset.Editor { _dependListView.Clear(); _dependListView.ClearSelection(); - _dependListView.itemsSource = providerInfo.BundleInfos; + _dependListView.itemsSource = providerInfo.DependBundleInfos; _dependListView.Rebuild(); } } diff --git a/Assets/YooAsset/Editor/AssetBundleDebugger/VisualViewers/DebuggerBundleListViewer.cs b/Assets/YooAsset/Editor/AssetBundleDebugger/VisualViewers/DebuggerBundleListViewer.cs index 3b46ab2..25ec007 100644 --- a/Assets/YooAsset/Editor/AssetBundleDebugger/VisualViewers/DebuggerBundleListViewer.cs +++ b/Assets/YooAsset/Editor/AssetBundleDebugger/VisualViewers/DebuggerBundleListViewer.cs @@ -75,7 +75,7 @@ namespace YooAsset.Editor Dictionary result = new Dictionary(debugReport.ProviderInfos.Count); foreach (var providerInfo in debugReport.ProviderInfos) { - foreach (var bundleInfo in providerInfo.BundleInfos) + foreach (var bundleInfo in providerInfo.DependBundleInfos) { if (string.IsNullOrEmpty(searchKeyWord) == false) { @@ -264,7 +264,7 @@ namespace YooAsset.Editor List source = new List(); foreach (var providerInfo in _debugReport.ProviderInfos) { - foreach (var bundleInfo in providerInfo.BundleInfos) + foreach (var bundleInfo in providerInfo.DependBundleInfos) { if (bundleInfo.BundleName == bundleName) {