Update editor code

This commit is contained in:
hevinci
2022-11-26 15:31:46 +08:00
parent adf1776b1e
commit b7e2f084b1
2 changed files with 2 additions and 2 deletions

View File

@@ -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;