mirror of https://github.com/tuyoogame/YooAsset
Update editor code
parent
adf1776b1e
commit
b7e2f084b1
|
@ -220,7 +220,7 @@ namespace YooAsset.Editor
|
||||||
|
|
||||||
// Status
|
// Status
|
||||||
StyleColor textColor;
|
StyleColor textColor;
|
||||||
if (providerInfo.Status == (int)ProviderBase.EStatus.Fail)
|
if (providerInfo.Status == ProviderBase.EStatus.Failed.ToString())
|
||||||
textColor = new StyleColor(Color.yellow);
|
textColor = new StyleColor(Color.yellow);
|
||||||
else
|
else
|
||||||
textColor = label1.style.color;
|
textColor = label1.style.color;
|
||||||
|
|
|
@ -185,7 +185,7 @@ namespace YooAsset.Editor
|
||||||
|
|
||||||
// Status
|
// Status
|
||||||
StyleColor textColor;
|
StyleColor textColor;
|
||||||
if (bundleInfo.Status == (int)BundleLoaderBase.EStatus.Failed)
|
if (bundleInfo.Status == BundleLoaderBase.EStatus.Failed.ToString())
|
||||||
textColor = new StyleColor(Color.yellow);
|
textColor = new StyleColor(Color.yellow);
|
||||||
else
|
else
|
||||||
textColor = label1.style.color;
|
textColor = label1.style.color;
|
||||||
|
|
Loading…
Reference in New Issue