Pārlūkot izejas kodu

爬塔补充提交

zhangyuqian 11 mēneši atpakaļ
vecāks
revīzija
8efeb5372a

+ 9 - 0
GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaDressInfoView.cs

@@ -102,7 +102,9 @@ namespace GFGGame
 
             _ui.m_grhCloseComFightScore.visible = false;
             _ui.m_comValueInfo.m_c2.selectedIndex = 0;
+            _ui.m_btnConfire.touchable = true;
             Timers.inst.Remove(CheckGuide);
+            Timers.inst.Remove(SetConfireTouch);
         }
 
         protected override void RemoveEventListener()
@@ -125,6 +127,11 @@ namespace GFGGame
             //    ViewManager.Show(_openViewName); //打开来源界面:如历史记录、排行榜
             //}
         }
+        private void SetConfireTouch(object parm)
+        {
+            _ui.m_btnConfire.touchable = true;
+            Timers.inst.Remove(SetConfireTouch);
+        }
         private void OnClickConfire()
         {
             ViewManager.GoBackFrom(typeof(ArenaDressInfoView).FullName);
@@ -198,6 +205,8 @@ namespace GFGGame
             }
             else if (_roleType == FightRoleType.FieldWork)
             {
+                _ui.m_btnConfire.touchable = false;
+                Timers.inst.Add(1.0f,1,SetConfireTouch);
                 for (int i = 0; i < FieldWorkDataManager.Instance.ThemeList.Count; i++)
                 {
                     int scoreType = FieldWorkDataManager.Instance.ThemeList[i];