摘要:
在这资源更新的进度条显示时 using (WebClient client = new WebClient()) { sw.Start(); client.DownloadProgressChanged += new DownloadProgressChangedEventHandler(Progr 阅读全文
摘要:
最近在做资源更新时,需要显示现在的进度调。我在Unity中开启了一个线程来做下载任务,然后实时刷新下载进度。然后Unity报了一个错误。 get_isActiveAndEnabled can only be called from the main thread. 意思是Unity中的组件只能运行在 阅读全文