From fc8965805694b1dc9fb8d1afa67e3fd643f0573c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AC=AC=E4=B9=9D=E5=8F=AA=E8=80=83=E6=8B=89?= Date: Mon, 2 Aug 2021 04:46:13 +0000 Subject: [PATCH] =?UTF-8?q?update=20UnityProject/Assets/Dependencies/XAsse?= =?UTF-8?q?t/Runtime/Core/Downloader.cs.=20=E4=BF=AE=E5=A4=8D=E7=83=AD?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=94=E5=90=8E=E5=8F=B0=E5=94=A4=E9=86=92?= =?UTF-8?q?=E5=90=8E=E6=97=A0=E6=B3=95=E7=BB=A7=E7=BB=AD=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/Dependencies/XAsset/Runtime/Core/Downloader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnityProject/Assets/Dependencies/XAsset/Runtime/Core/Downloader.cs b/UnityProject/Assets/Dependencies/XAsset/Runtime/Core/Downloader.cs index 2d818e5..7c386a2 100644 --- a/UnityProject/Assets/Dependencies/XAsset/Runtime/Core/Downloader.cs +++ b/UnityProject/Assets/Dependencies/XAsset/Runtime/Core/Downloader.cs @@ -86,7 +86,7 @@ namespace libx _lastTime = 0; _started = true; _downloadIndex = _finishedIndex; - var max = Math.Min(_downloads.Count, maxDownloads); + var max = Math.Min(_downloads.Count, _downloadIndex + maxDownloads); for (var i = _finishedIndex; i < max; i++) { var item = _downloads[i]; -- Gitee