Update editor code
parent
adf1776b1e
commit
b7e2f084b1
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue