From 48da25609d13d5d727859eaf941217b224381e5c Mon Sep 17 00:00:00 2001
From: liuzhiwei <liuzhiwei@qq.com>
Date: Tue, 08 Dec 2020 13:58:55 +0800
Subject: [PATCH] Merge branch 'master' of http://172.16.1.52:8090/r/GemBattle into master

---
 Assets/Scripts/UI/FinalPanel/FinalPanel.cs |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Assets/Scripts/UI/FinalPanel/FinalPanel.cs b/Assets/Scripts/UI/FinalPanel/FinalPanel.cs
index 14e3b1e..354514d 100644
--- a/Assets/Scripts/UI/FinalPanel/FinalPanel.cs
+++ b/Assets/Scripts/UI/FinalPanel/FinalPanel.cs
@@ -272,16 +272,16 @@
             scrollerCanvasGroup.alpha = 1;
             Debug.Log("开始展示排行榜");
         }
-        itemCanvasGroup.alpha = 1;
-        float duration = 0.1f;
-        for (int i = 0; i < playPSItem.Count; i++)
-        {
-            playPSItem[i].PlayDoTween(duration);
-            yield return new WaitForSeconds(duration);
-        }
 
         if (playPSItem.Count > 0)
         {
+            itemCanvasGroup.alpha = 1;
+            float duration = 0.1f;
+            for (int i = 0; i < playPSItem.Count; i++)
+            {
+                playPSItem[i].PlayDoTween(duration);
+                yield return new WaitForSeconds(duration);
+            }
             image_HScore.SetActive(true);
             goonFade = true;
             ShowGoOnText();

--
Gitblit v1.9.1