コード例 #1
0
 void worker_RequestComplete(object sender, Net.AssetDownloader.RequestCompleteEventArgs e)
 {
     if (RequestComplete != null)
     {
         RequestComplete(this, e);
     }
 }
コード例 #2
0
 void downloader_RequestComplete(object sender, Net.AssetDownloader.RequestCompleteEventArgs e)
 {
     lock (this)
     {
         //progress.estimatedBytesRemaining -= e.Asset.size;
         progress.contentBytesTotal += e.ContentBytes;
     }
 }