update download system
This commit is contained in:
@@ -39,7 +39,7 @@ namespace YooAsset
|
||||
_latestDownloadBytes = 0;
|
||||
_latestDownloadRealtime = Time.realtimeSinceStartup;
|
||||
|
||||
_webRequest = DownloadRequestUtil.NewRequest(URL);
|
||||
_webRequest = DownloadSystem.NewRequest(URL);
|
||||
DownloadHandlerFile handler = new DownloadHandlerFile(savePath);
|
||||
handler.removeFileOnAbort = true;
|
||||
_webRequest.downloadHandler = handler;
|
||||
|
||||
Reference in New Issue
Block a user