We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f7e22e commit f07cdf8Copy full SHA for f07cdf8
CrazyCarClient/Assets/Scripts/UI/Login/DownloadResUI.cs
@@ -54,8 +54,6 @@ private async void Start() {
54
}
55
56
private void DownloadRes() {
57
- this.GetSystem<IAddressableSystem>().GetDownloadAssets();
58
-
59
this.GetSystem<IAddressableSystem>().SetCallBack(
60
OnCheckCompleteNeedUpdate: (size) => {
61
Debug.Log("需要更新");
@@ -74,6 +72,8 @@ private void DownloadRes() {
74
72
UpdateProgress(percent, tatalSize);
75
73
} catch { }
76
});
+
+ this.GetSystem<IAddressableSystem>().GetDownloadAssets();
77
78
79
private void FinishDownloadRes(bool isFinish) {
0 commit comments