update download system

This commit is contained in:
hevinci
2023-02-24 19:45:05 +08:00
parent a5e24be5d4
commit bcf6372602
7 changed files with 40 additions and 54 deletions
@@ -29,7 +29,7 @@ namespace YooAsset
if (_webRequest == null)
{
URL = url;
_webRequest = DownloadRequestUtil.NewRequest(URL);
_webRequest = DownloadSystem.NewRequest(URL);
DownloadHandlerBuffer handler = new DownloadHandlerBuffer();
_webRequest.downloadHandler = handler;
_webRequest.disposeDownloadHandlerOnDispose = true;