chenxin
2020-11-18 8876e348ab75183282fe2442f8a43d094c12dec0
Assets/Scripts/GameAnalytics_SDK/UI/LoginUI.cs
@@ -26,6 +26,8 @@
    // Start is called before the first frame update
    void Start()
    {
        AudioSourceManager.Ins.Play(AudioEnum.BGM1);
        EventCenter.Ins.RemoveAllListener();
        isLogining = false;
@@ -138,7 +140,8 @@
    {
        int displayProgress = 0;
        int toProgress = 0;
        AsyncOperation op = SceneManager.LoadSceneAsync(GameConfig.NextSceneName);
        AsyncOperation op = SceneManager.LoadSceneAsync("Endless2D");
        // AsyncOperation op = SceneManager.LoadSceneAsync(GameConfig.NextSceneName);
        op.allowSceneActivation = false;
        while (op.progress < 0.9f) //此处如果是 <= 0.9f 则会出现死循环所以必须小0.9
        {