Unity ResUpdater研究使用2
来源:互联网 发布:cetv4 网络回看 编辑:程序博客网 时间:2024/06/06 00:05
上一篇:http://blog.csdn.net/yikalyosi/article/details/72790175
一些错误:
库中的CheckMd5State类里的doCheckResource函数的 if (isTargetLatest) { File.Replace(Application.persistentDataPath + "/" + res_md5_latest, Application.persistentDataPath + "/" + res_md5, null); File.Replace(Application.persistentDataPath + "/" + CheckVersionState.res_version_latest, Application.persistentDataPath + "/" + CheckVersionState.res_version, null); }改为 if (isTargetLatest) { if (!File.Exists(Application.persistentDataPath + "/" + res_md5)) { File.Move(Application.persistentDataPath + "/" + res_md5_latest, Application.persistentDataPath + "/" + res_md5); } else { File.Replace(Application.persistentDataPath + "/" + res_md5_latest, Application.persistentDataPath + "/" + res_md5, null); } if (!File.Exists(Application.persistentDataPath + "/" + CheckVersionState.res_version)) { File.Move(Application.persistentDataPath + "/" + CheckVersionState.res_version_latest, Application.persistentDataPath + "/" + CheckVersionState.res_version); } else { File.Replace(Application.persistentDataPath + "/" + CheckVersionState.res_version_latest, Application.persistentDataPath + "/" + CheckVersionState.res_version, null); } }
Downloader.cs的StartDownload函数中:webclient.DownloadFileAsync(new Uri(hosts[idx] + serveInfo.url), outputPath + serveInfo.fn, serveInfo.fn);改为webclient.DownloadFileAsync(new Uri(hosts[idx] + serveInfo.url), outputPath +"/"+ serveInfo.fn, serveInfo.fn);
阅读全文
0 0
- Unity ResUpdater研究使用2
- Unity ResUpdater研究使用1
- NGUI研究之在Unity中使用贝塞尔曲线
- Unity粒子系统研究
- Unity无缝地图研究
- Unity多屏研究
- Unity Web前端研究
- Unity Web前端研究
- unity 手机游戏研究
- unity font研究小结
- Unity无缝地图研究
- Unity多屏研究
- unity particleSystem bug研究
- Unity之Flux研究
- Unity-Dither4444的研究
- Unity切换场景研究
- unity框架strangeioc研究分享
- Android与Unity交互研究
- usart.c(参考匿名的)
- 正则表达式全解
- 【步兵 cocos2dx】加密和混淆
- 通过继承来扩展接口
- 1009: 求平均分
- Unity ResUpdater研究使用2
- java间的同步通讯
- 1010: 求圆的周长和面积
- Win7通过U盘安装Linux
- 图像处理之Matlab图像读取
- USACO Section1.2 Palindromic Squares
- 二叉树的三种遍历递归法和非递归法(前序、中序、后续)
- Tensorflow进行深度学习(第二)
- 1011: 圆柱体表面积