少年修仙传客户端代码仓库
client_Wu Xijin
2018-08-30 a830076298996d131c575894ad3a657107eb0f1e
2199 加载地图过程中可能出现错误的记录
1个文件已修改
41 ■■■■ 已修改文件
Core/GameEngine/Login/LaunchPostProcess.cs 41 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Login/LaunchPostProcess.cs
@@ -1,26 +1,26 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Snxxz.UI;
using TableConfig;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Snxxz.UI;
using TableConfig;
using System;
public class LaunchPostProcess : SingletonMonobehaviour<LaunchPostProcess>
{
    bool m_Completed = false;
    public bool completed { get { return m_Completed; } set { m_Completed = value; } }
    public float progress { get { return Config.Instance.GetProgress(); } }
    float startTime = 0f;
{
    bool m_Completed = false;
    public bool completed { get { return m_Completed; } set { m_Completed = value; } }
    public float progress { get { return Config.Instance.GetProgress(); } }
    float startTime = 0f;
    public void Begin()
    {
        completed = false;
        startTime = Time.time;
        StartCoroutine(Config.Instance.Co_LoadConfigs());
    }
    }
    private void Update()
    {
        if (!completed && Config.Instance.AllCompleted())
@@ -46,6 +46,7 @@
            catch (Exception ex)
            {
                Debug.LogErrorFormat("严重警告:游戏逻辑初始化失败,无法进入游戏!错误:{0}", ex);
                ExceptionCatcher.ReportException("严重警告,游戏初始化失败", ex);
            }
            finally
            {
@@ -53,6 +54,6 @@
            }
        }
    }
}
    }
}