少年修仙传客户端代码仓库
client_Wu Xijin
2018-08-22 46e84f7f47a2ff4909397f095ad37e501094a9f5
1621 IOS分包资源下载弹框,点击暂停游戏崩溃
1个文件已修改
8 ■■■■■ 已修改文件
Core/GameEngine/Login/Launch.cs 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Login/Launch.cs
@@ -13,11 +13,9 @@
    static public LaunchStage currentStage { get { return m_CurrentStage; } }
    static float m_Progress = 0f;
    static public float progress
    {
    static public float progress {
        get { return m_Progress; }
        set
        {
        set {
            if (m_Progress != value)
            {
                m_Progress = value;
@@ -254,7 +252,7 @@
        while (!LaunchPostProcess.Instance.completed
            && LaunchPostProcess.Instance.progress < (Application.platform == RuntimePlatform.WindowsEditor ? 1f : 0.8f))
        {
            progress = Mathf.Clamp(progressBuf + LaunchPostProcess.Instance.progress * 1.25f, progressBuf, 1f);
            progress = Mathf.Clamp(progressBuf + LaunchPostProcess.Instance.progress * (1 - progressBuf) , progressBuf, 1f);
            yield return null;
        }