diff --git a/Assets/YooAsset/Editor/AssetBundleDebugger/VisualViewers/DebuggerAssetListViewer.cs b/Assets/YooAsset/Editor/AssetBundleDebugger/VisualViewers/DebuggerAssetListViewer.cs index aa0b8a1..389f9bb 100644 --- a/Assets/YooAsset/Editor/AssetBundleDebugger/VisualViewers/DebuggerAssetListViewer.cs +++ b/Assets/YooAsset/Editor/AssetBundleDebugger/VisualViewers/DebuggerAssetListViewer.cs @@ -220,7 +220,7 @@ namespace YooAsset.Editor // Status StyleColor textColor; - if (providerInfo.Status == (int)ProviderBase.EStatus.Fail) + if (providerInfo.Status == ProviderBase.EStatus.Failed.ToString()) textColor = new StyleColor(Color.yellow); else textColor = label1.style.color; diff --git a/Assets/YooAsset/Editor/AssetBundleDebugger/VisualViewers/DebuggerBundleListViewer.cs b/Assets/YooAsset/Editor/AssetBundleDebugger/VisualViewers/DebuggerBundleListViewer.cs index dbac2ce..cb68f3a 100644 --- a/Assets/YooAsset/Editor/AssetBundleDebugger/VisualViewers/DebuggerBundleListViewer.cs +++ b/Assets/YooAsset/Editor/AssetBundleDebugger/VisualViewers/DebuggerBundleListViewer.cs @@ -185,7 +185,7 @@ namespace YooAsset.Editor // Status StyleColor textColor; - if (bundleInfo.Status == (int)BundleLoaderBase.EStatus.Failed) + if (bundleInfo.Status == BundleLoaderBase.EStatus.Failed.ToString()) textColor = new StyleColor(Color.yellow); else textColor = label1.style.color;