mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
优化网速计算
优化网速计算
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user