少年修仙传客户端代码仓库
client_Wu Xijin
2018-11-27 22c50cd7249006a624a620994305c17dd2f0ba34
2499 【1.3】4G下分包下载进度条显示优化
1个文件已修改
5 ■■■■■ 已修改文件
System/AssetVersion/MapAssetDownLoadProgress.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/AssetVersion/MapAssetDownLoadProgress.cs
@@ -32,8 +32,9 @@
        }
        else
        {
            m_Progress.text = StringUtility.Contact(Language.Get("LoadMap"), Mathf.Clamp((int)(progress * 100), 0, 100), "%");
            m_SliderProgress.fillAmount = Mathf.Clamp01(progress + 0.2f);
            var amendProgress = (progress + 0.1f) * 0.91f;
            m_Progress.text = StringUtility.Contact(Language.Get("LoadMap"), Mathf.Clamp((int)(amendProgress * 100f), 0, 100), "%");
            m_SliderProgress.fillAmount = Mathf.Clamp01(amendProgress);
        }
    }