|
|
@@ -33,7 +33,7 @@ public class Entry : MonoBehaviour
|
|
|
if (request.result == UnityWebRequest.Result.Success) {
|
|
|
appVersionCheckOK = bool.Parse(request.downloadHandler.text);
|
|
|
if (appVersionCheckOK) {
|
|
|
- SetTip("软件版本校验成功", Color.green);
|
|
|
+ //等场景加载完再提示
|
|
|
} else {
|
|
|
SetTip("请安装最新版本软件", Color.yellow);
|
|
|
DoTweenUtil.CallDelay(2f, () => {
|
|
|
@@ -62,6 +62,8 @@ public class Entry : MonoBehaviour
|
|
|
if (async.progress >= 0.9f) {
|
|
|
if (appVersionCheckOK) {
|
|
|
async.allowSceneActivation = true;
|
|
|
+ SetTip("软件版本校验成功", Color.green);
|
|
|
+ break;
|
|
|
}
|
|
|
}
|
|
|
yield return null;
|