Update AssetBundleDebugger

pull/4/head
hevinci 2022-04-03 11:28:52 +08:00
parent eec5a35f5b
commit 85bbdb7157
2 changed files with 0 additions and 4 deletions

View File

@ -234,9 +234,7 @@ namespace YooAsset.Editor
private void FillDependListView(DebugProviderInfo providerInfo) private void FillDependListView(DebugProviderInfo providerInfo)
{ {
_dependListView.Clear(); _dependListView.Clear();
#if UNITY_2020_1_OR_NEWER
_dependListView.ClearSelection(); _dependListView.ClearSelection();
#endif
_dependListView.itemsSource = providerInfo.BundleInfos; _dependListView.itemsSource = providerInfo.BundleInfos;
} }
} }

View File

@ -237,9 +237,7 @@ namespace YooAsset.Editor
private void FillIncludeListView(DebugBundleInfo bundleInfo) private void FillIncludeListView(DebugBundleInfo bundleInfo)
{ {
_includeListView.Clear(); _includeListView.Clear();
#if UNITY_2020_1_OR_NEWER
_includeListView.ClearSelection(); _includeListView.ClearSelection();
#endif
List<DebugProviderInfo> source = new List<DebugProviderInfo>(); List<DebugProviderInfo> source = new List<DebugProviderInfo>();
foreach(var providerInfo in _debugReport.ProviderInfos) foreach(var providerInfo in _debugReport.ProviderInfos)