예제 #1
0
 public string GetDownLoadInfo()
 {
     if (curDownLoad == null || DownLoadEnd())
     {
         return("");
     }
     return(string.Format("当前下载(进度:{2:F0}KB/{3:F0}KB 剩余:{0}):{1}",
                          HttpDownLoadList.Count + 1,
                          curDownLoad.GetDownFilePath().Replace(ResManager.LocalAssetbundlePath, ""),
                          curDownLoad.GetCurSize() / 1024f,
                          curDownLoad.GetSize() / 1024f
                          ));
 }