From ee85c1dba793ef8ef608384103174cce810d34bc Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期四, 24 一月 2019 16:38:23 +0800
Subject: [PATCH] 5971 双进度条表现逻辑
---
System/Launch/LaunchWin.cs | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/System/Launch/LaunchWin.cs b/System/Launch/LaunchWin.cs
index 65147e5..f41daab 100644
--- a/System/Launch/LaunchWin.cs
+++ b/System/Launch/LaunchWin.cs
@@ -19,9 +19,7 @@
[SerializeField] Image m_BackGround;
[SerializeField] RectTransform m_AndroidProgressContainer;
[SerializeField] SmoothSlider m_PartProgressSlider;
- [SerializeField] Text m_PartProgress;
[SerializeField] SmoothSlider m_TotalProgressSlider;
- [SerializeField] Text m_TotalProgress;
[SerializeField] Text m_StageDescription;
[SerializeField] RectTransform m_IosProgressContainer;
[SerializeField] Text m_IosProgressTip;
@@ -167,7 +165,6 @@
{
var progressInfo = Launch.progressInfo;
-
if (progressInfo.stage == Launch.LaunchStage.DownLoad)
{
if (m_PartProgressSlider.gameObject.activeInHierarchy)
@@ -193,10 +190,7 @@
}
m_TotalProgressSlider.value = progressInfo.totalProgress;
- m_TotalProgress.text = StringUtility.Contact(Mathf.RoundToInt(progressInfo.totalProgress * 100), "%");
-
m_PartProgressSlider.value = progressInfo.partProgress;
- m_PartProgress.text = StringUtility.Contact(Mathf.RoundToInt(progressInfo.partProgress * 100), "%");
}
DisplayStageDescription(progressInfo.stage);
--
Gitblit v1.8.0