【连点】车迟斗法,十绝阵一类的玩法,快速点击进入战斗,会直接扣两个次数(尝试修复)

dev_chengFeng
ZhangBiao 2021-10-19 09:38:05 +08:00
parent f10cd9dc35
commit 47791f3711
1 changed files with 5 additions and 5 deletions

View File

@ -173,12 +173,12 @@ end
function this:BindEvent()
--返回按钮
Util.AddClick(this.backBtn, function()
Util.AddOnceClick(this.backBtn, function()
this:ClosePanel()
end)
--筛选按钮
for i = 0, 4 do
Util.AddClick(tabs[i], function()
Util.AddOnceClick(tabs[i], function()
if i == proId then
proId=ProIdConst.All
else
@ -188,17 +188,17 @@ function this:BindEvent()
end)
end
--推荐阵容
Util.AddClick(this.exampleBtn,function()
Util.AddOnceClick(this.exampleBtn,function()
UIManager.OpenPanel(UIName.FormationExamplePopup)
end)
--通用逻辑调用
Util.AddClick(this.btn_1, function()
Util.AddOnceClick(this.btn_1, function()
if this.opView and this.opView.On_Btn1_Click then
this.opView.On_Btn1_Click(this.curFormationIndex)
end
end)
Util.AddClick(this.btn_2, function()
Util.AddOnceClick(this.btn_2, function()
if this.opView and this.opView.On_Btn2_Click then
this.opView.On_Btn2_Click(this.curFormationIndex)
end