完成打包测试,准备更新到最新的Unity
This commit is contained in:
@ -42,8 +42,10 @@ namespace AssetUpdate
|
||||
// 当前资源清单不存在或者过时
|
||||
if (mainInfo == null)
|
||||
{
|
||||
var oldUri = uri;
|
||||
uri = uri.Open(serverVersion.ToString()).Open(fileName);
|
||||
var path = AssetConst.persistentDataPath.Open(fileName);
|
||||
Debug.Log("Download version file from: " + uri + " url: " + oldUri);
|
||||
_downloader = new AssetUpdateDownloader(uri, path) {onComplete = OnComplete};
|
||||
_downloader.Start();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user