【编队优化】大闹天宫增加一键
parent
cf34f4d377
commit
188dc707a9
|
@ -18,7 +18,12 @@ function this.GetFormationIndex()
|
|||
return FormationTypeDef.EXPEDITION
|
||||
end
|
||||
--- btn1点击回调事件
|
||||
|
||||
function this.On_Btn1_Click()
|
||||
this.root.SetOneKeyGo()
|
||||
end
|
||||
|
||||
function this.On_Btn2_Click()
|
||||
if not hadClick then
|
||||
hadClick = true
|
||||
if this.root.order>=1 then
|
||||
|
@ -55,7 +60,9 @@ end
|
|||
-- 初始化界面显示
|
||||
function this.InitView()
|
||||
this.root.btn_1:SetActive(true)
|
||||
this.root.btn_1_lab.text = Language[10708]
|
||||
this.root.btn_2:SetActive(true)
|
||||
this.root.btn_1_lab.text = Language[10743]
|
||||
this.root.btn_2_lab.text = Language[10708]
|
||||
MapManager.isCarbonEnter = false
|
||||
this.root.formTip:SetActive(true)
|
||||
this.root.formTip:GetComponent("Text").text = Language[10727] ..20 .. Language[10728]
|
||||
|
|
Loading…
Reference in New Issue