【连点】车迟斗法,十绝阵一类的玩法,快速点击进入战斗,会直接扣两个次数(尝试修复)
parent
f10cd9dc35
commit
47791f3711
|
|
@ -173,12 +173,12 @@ end
|
||||||
|
|
||||||
function this:BindEvent()
|
function this:BindEvent()
|
||||||
--返回按钮
|
--返回按钮
|
||||||
Util.AddClick(this.backBtn, function()
|
Util.AddOnceClick(this.backBtn, function()
|
||||||
this:ClosePanel()
|
this:ClosePanel()
|
||||||
end)
|
end)
|
||||||
--筛选按钮
|
--筛选按钮
|
||||||
for i = 0, 4 do
|
for i = 0, 4 do
|
||||||
Util.AddClick(tabs[i], function()
|
Util.AddOnceClick(tabs[i], function()
|
||||||
if i == proId then
|
if i == proId then
|
||||||
proId=ProIdConst.All
|
proId=ProIdConst.All
|
||||||
else
|
else
|
||||||
|
|
@ -188,17 +188,17 @@ function this:BindEvent()
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
--推荐阵容
|
--推荐阵容
|
||||||
Util.AddClick(this.exampleBtn,function()
|
Util.AddOnceClick(this.exampleBtn,function()
|
||||||
UIManager.OpenPanel(UIName.FormationExamplePopup)
|
UIManager.OpenPanel(UIName.FormationExamplePopup)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
--通用逻辑调用
|
--通用逻辑调用
|
||||||
Util.AddClick(this.btn_1, function()
|
Util.AddOnceClick(this.btn_1, function()
|
||||||
if this.opView and this.opView.On_Btn1_Click then
|
if this.opView and this.opView.On_Btn1_Click then
|
||||||
this.opView.On_Btn1_Click(this.curFormationIndex)
|
this.opView.On_Btn1_Click(this.curFormationIndex)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
Util.AddClick(this.btn_2, function()
|
Util.AddOnceClick(this.btn_2, function()
|
||||||
if this.opView and this.opView.On_Btn2_Click then
|
if this.opView and this.opView.On_Btn2_Click then
|
||||||
this.opView.On_Btn2_Click(this.curFormationIndex)
|
this.opView.On_Btn2_Click(this.curFormationIndex)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue