コード例 #1
0
        public static WWWProgress PreDownloadRequestSkipCheckDuplication(IEnumerable <string> urls, PostProcPerList callback, object param)
        {
            if (!NrTSingleton <NrGlobalReference> .Instance.useCache)
            {
                WWWProgress wWWProgress = new WWWProgress(1f);
                wWWProgress.AddCompletionCnt();
                return(wWWProgress);
            }
            List <WWWItem> wiList = new List <WWWItem>();

            foreach (string current in urls)
            {
                Helper._PreDownloadRequest(current, ref wiList, true, param);
            }
            return(TsImmortal.bundleService.RequestDownloadCoroutine(wiList, DownGroup.BGLOAD, true, callback, param));
        }
コード例 #2
0
 public void SetProgressGroup(WWWProgress wwwProgress)
 {
     this.m_wwwProgress = wwwProgress;
 }