【编队优化】巅峰赛增加一键
parent
462484db66
commit
a68a068746
|
@ -18,7 +18,12 @@ function this.GetFormationIndex()
|
|||
return FormationTypeDef.ARENA_TOM_MATCH
|
||||
end
|
||||
--- 提交按钮点击事件
|
||||
---
|
||||
|
||||
function this.On_Btn1_Click()
|
||||
this.root.SetOneKeyGo()
|
||||
end
|
||||
function this.On_Btn2_Click()
|
||||
--保存编队
|
||||
if not hadClick then
|
||||
hadClick = true
|
||||
|
@ -53,7 +58,9 @@ end
|
|||
function this.InitView()
|
||||
this.root.bg:SetActive(true)
|
||||
this.root.btn_1:SetActive(true)
|
||||
this.root.btn_1_lab.text = Language[10508]
|
||||
this.root.btn_1_lab.text = Language[10743]
|
||||
this.root.btn_2:SetActive(true)
|
||||
this.root.btn_2_lab.text = Language[10508]
|
||||
hadClick = false
|
||||
-- 没开启或者开启没参赛都属于未参赛
|
||||
local isOpen = ArenaTopMatchManager.IsTopMatchActive()
|
||||
|
|
Loading…
Reference in New Issue