From 89a7451df9af8f4851aa9dcde7a1923edc14f71c Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期四, 31 一月 2019 16:50:20 +0800
Subject: [PATCH] 3335 场景切换重构

---
 System/Loading/LoadingWin.cs |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/System/Loading/LoadingWin.cs b/System/Loading/LoadingWin.cs
index 64ed6ed..e69c755 100644
--- a/System/Loading/LoadingWin.cs
+++ b/System/Loading/LoadingWin.cs
@@ -226,7 +226,12 @@
 
             if (loadingType == LoadingType.Normal)
             {
-                m_ProgressSlider.value = 0.1f + StageLoad.Instance.progress * 0.9f;
+                if (StageLoad.Instance.progress + 0.1f > refProgress)
+                {
+                    refProgress = Mathf.Clamp01(StageLoad.Instance.progress + 0.1f);
+                }
+
+                m_ProgressSlider.value = refProgress;
             }
         }
 

--
Gitblit v1.8.0