|
|
@@ -20,7 +20,8 @@ public class Entry : MonoBehaviour
|
|
|
// QualitySettings.vSyncCount = 0;
|
|
|
// Application.targetFrameRate = 60;
|
|
|
QualitySettings.vSyncCount = 1;
|
|
|
- SetTip("正在检测对比软件版本", Color.white);
|
|
|
+ SetTip("Loading", Color.white, 56);
|
|
|
+ //SetTip("正在检测对比软件版本", Color.white);
|
|
|
StartCoroutine(CheckAppVersion());
|
|
|
StartCoroutine(AsyncLoadScene());
|
|
|
}
|
|
|
@@ -60,7 +61,7 @@ public class Entry : MonoBehaviour
|
|
|
if (async.progress >= 0.9f) {
|
|
|
if (appVersionCheckOK) {
|
|
|
async.allowSceneActivation = true;
|
|
|
- SetTip("软件版本校验成功", Color.green);
|
|
|
+ //SetTip("软件版本校验成功", Color.green);
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
@@ -69,9 +70,10 @@ public class Entry : MonoBehaviour
|
|
|
}
|
|
|
|
|
|
[SerializeField] Text tipText;
|
|
|
- void SetTip(string text, Color color) {
|
|
|
+ void SetTip(string text, Color color, int fontSize = 40) {
|
|
|
tipText.text = text;
|
|
|
tipText.color = color;
|
|
|
+ tipText.fontSize = fontSize;
|
|
|
}
|
|
|
|
|
|
void DelayQuit() {
|