Update runtime code

优化调试信息的加载状态显示为文本。
This commit is contained in:
hevinci
2022-11-26 15:31:35 +08:00
parent fd1edcdedf
commit adf1776b1e
17 changed files with 38 additions and 41 deletions
@@ -29,7 +29,7 @@ namespace YooAsset
string guid = UnityEditor.AssetDatabase.AssetPathToGUID(MainAssetInfo.AssetPath);
if (string.IsNullOrEmpty(guid))
{
Status = EStatus.Fail;
Status = EStatus.Failed;
LastError = $"Not found asset : {MainAssetInfo.AssetPath}";
YooLogger.Error(LastError);
InvokeCompletion();
@@ -46,7 +46,7 @@ namespace YooAsset
if(Status == EStatus.Checking)
{
RawFilePath = MainAssetInfo.AssetPath;
Status = EStatus.Success;
Status = EStatus.Succeed;
InvokeCompletion();
}
#endif