【编队优化】大闹天宫增加一键

dev_chengFeng
ZhangBiao 2020-11-17 19:42:08 +08:00
parent cf34f4d377
commit 188dc707a9
1 changed files with 8 additions and 1 deletions

View File

@ -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]