【编队优化】心魔试炼增加一键上阵
parent
233ff1b361
commit
75c04b2c43
|
@ -17,7 +17,7 @@ function this.GetFormationIndex()
|
|||
end
|
||||
|
||||
--- btn1点击回调事件 -- lEFT
|
||||
function this.On_Btn1_Click()
|
||||
function this.On_Btn2_Click()
|
||||
if this.root.order>=1 then
|
||||
--保存编队
|
||||
FormationManager.RefreshFormation(this.root.curFormationIndex, this.root.choosedList,
|
||||
|
@ -44,16 +44,17 @@ function this.On_Btn1_Click()
|
|||
this.StraightBattle()
|
||||
end
|
||||
--- btn2点击回调事件 --RIGHT
|
||||
function this.On_Btn2_Click()
|
||||
|
||||
function this.On_Btn1_Click()
|
||||
this.root.SetOneKeyGo()
|
||||
end
|
||||
|
||||
function this.InitView()
|
||||
this.root.bg:SetActive(true)
|
||||
this.root.btn_1:SetActive(true)
|
||||
this.root.btn_2:SetActive(false)
|
||||
this.root.btn_2:SetActive(true)
|
||||
-- this.root.failText:SetActive(true)
|
||||
this.root.btn_1_lab.text = Language[10709]
|
||||
this.root.btn_1_lab.text = Language[10743]
|
||||
this.root.btn_2_lab.text = Language[10709]
|
||||
this.root.passBattle0.gameObject:SetActive(false)
|
||||
this.root.passBattle1.gameObject:SetActive(false)
|
||||
|
||||
|
|
Loading…
Reference in New Issue