瀏覽代碼

茶话会转场界面修改

huangxiaoyue 1 年之前
父節點
當前提交
7526c464bb
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      GameClient/Assets/Game/HotUpdate/Views/League/LeagueTeaPartyShowView.cs

+ 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);