/// <summary>
 /// 检测当前下载时候超时
 /// </summary>
 private void TickDownloadTimeout()
 {
     //DebugConsole.LogError(curDownload);
     if (curDownload != null && curDownload.flag)
     {
         if (!curDownload.CheckUpdateProgress())
         {                                                 //如果下载进度没有更新,则计算超时
             curDownload.timer += (Time.deltaTime * 1000); //转换成毫秒
             if (curDownload.timer >= curDownload.timeout)
             {                                             //下载超时,超时回调
                 curDownload.InvokeErrorCallback();
                 DebugConsole.Log("AssetUpdate: Download Timeout,Info =" + curDownload.ToString());
             }
         }
         else
         {//下载进度更新,重置超时计时器
             curDownload.ResetTimer();
         }
     }
 }