Esempio n. 1
0
 private void DownloadBegin(WWWDispatch.Downloader downloader, Job job)
 {
     downloader.Job = job;
     downloader.Download = new WWW(job.Path);
     job.OnDownloadingBegin(downloader);
     if (!downloader.Download.isDone)
     {
         this.coroutineRunner.Install(WWWDispatch.Downloader.DownloaderRoutineCallback, downloader, downloader.Download, true);
     }
     else
     {
         this.DownloadFinished(downloader);
     }
 }
Esempio n. 2
0
 public Downloader(WWWDispatch dispatch)
 {
     this.Dispatch = dispatch;
 }
Esempio n. 3
0
 public Downloader(WWWDispatch dispatch)
 {
     this.Dispatch = dispatch;
 }
Esempio n. 4
0
 private void DownloadFinished(WWWDispatch.Downloader downloader)
 {
     downloader.Job.OnDownloadingComplete();
 }