Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多个Package下,同时需要更新会出现多次提示下载 #474

Open
hexinping opened this issue Feb 14, 2025 · 1 comment
Open

多个Package下,同时需要更新会出现多次提示下载 #474

hexinping opened this issue Feb 14, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@hexinping
Copy link

如果同时有更新,希望可以合并,只出现一次提示下载更新

@xq48799220
Copy link

好像支持吧。。文档里面有下载器合并。。不知道是不是你的需求。。

下载器合并
可以把同一个package下的多个下载器合并。

// 例如:把关卡资源下载器和某个指定资源下载器进行合并。
var downloader1 = package.CreateResourceDownloader("level_tag", downloadingMaxNum, failedTryAgain);
var downloader2 = package.CreateBundleDownloader("asset_location", downloadingMaxNum, failedTryAgain);
downloader1.Combine(downloader2);

//开启下载
downloader1.BeginDownload();

@gmhevinci gmhevinci added the enhancement New feature or request label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants