style : 规范代码注释

This commit is contained in:
何冠峰
2026-01-06 14:57:15 +08:00
parent c87efdb509
commit 539ca3523e
4 changed files with 10 additions and 3 deletions

View File

@@ -183,13 +183,15 @@ namespace YooAsset
{
while (true)
{
//TODO 等待导入或解压本地文件完毕,该操作会挂起主线程!
//TODO 更新下载后台,防止无限挂起
_fileSystem.DownloadBackend.Update();
//TODO 等待导入或解压本地文件完毕,该操作会挂起主线程!
InternalUpdate();
if (IsDone)
break;
// 短暂休眠避免完全卡死
//TODO 短暂休眠避免完全卡死
System.Threading.Thread.Sleep(1);
}
}

View File

@@ -113,6 +113,10 @@ namespace YooAsset
}
}
}
internal override string InternalGetDesc()
{
return $"{_fileSystem.GetType().FullName}";
}
/// <summary>
/// 中止所有下载任务

View File

@@ -76,7 +76,7 @@ namespace YooAsset
if (IsDone)
break;
// 短暂休眠避免完全卡死
//TODO 短暂休眠避免完全卡死
System.Threading.Thread.Sleep(1);
}
}

View File

@@ -128,6 +128,7 @@ namespace YooAsset
_steps = ESteps.Done;
Status = EOperationStatus.Failed;
Error = $"Try load bundle {Bundle.BundleName} from remote !";
YooLogger.Error(Error);
}
}