Selaa lähdekoodia

茶话会转场界面修改

huangxiaoyue 1 vuosi sitten
vanhempi
commit
7526c464bb

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/League/LeagueTeaPartyShowView.cs

@@ -54,7 +54,7 @@ namespace GFGGame
         {
             base.OnShown();
 
-            timeIndex = 0;
+            timeIndex = 3;
             GetRoleContainerInfos();
             Timers.inst.Add(1, 3, UpdateTime);
         }
@@ -108,7 +108,7 @@ namespace GFGGame
         private void UpdateTime(object param)
         {
             timeIndex -= 1;
-            _ui.m_txtCountdown.text = "将在" + timeIndex + "s后进入下一阶段";
+            _ui.m_txtCountdown.text = string.Format("将在{0}s后进入下一阶段", timeIndex);
             if (timeIndex <= 0) {
                 openNextView();
                 Timers.inst.Remove(UpdateTime);