优化网速计算

优化网速计算
This commit is contained in:
Weekend
2023-10-30 23:47:07 +08:00
parent c9fe83c2bd
commit 5f968f4154

View File

@@ -15,7 +15,7 @@ namespace GameMain
private float CurrentSpeed => private float CurrentSpeed =>
(GameModule.Resource.Downloader.TotalDownloadBytes - (GameModule.Resource.Downloader.TotalDownloadBytes -
GameModule.Resource.Downloader.CurrentDownloadBytes) / UnityEngine.Time.time; GameModule.Resource.Downloader.CurrentDownloadBytes) / GameTime.time;
protected override void OnEnter(ProcedureOwner procedureOwner) protected override void OnEnter(ProcedureOwner procedureOwner)
{ {