From 75c04b2c43804860b95e83eaf82fbbed2bbd6475 Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Tue, 17 Nov 2020 17:41:06 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=BC=96=E9=98=9F=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E3=80=91=E5=BF=83=E9=AD=94=E8=AF=95=E7=82=BC=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=B8=80=E9=94=AE=E4=B8=8A=E9=98=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Modules/Formation/View/MonsterCampFormation.lua | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Formation/View/MonsterCampFormation.lua b/Assets/ManagedResources/~Lua/Modules/Formation/View/MonsterCampFormation.lua index 132fce6ed6..9a8d27ebd7 100644 --- a/Assets/ManagedResources/~Lua/Modules/Formation/View/MonsterCampFormation.lua +++ b/Assets/ManagedResources/~Lua/Modules/Formation/View/MonsterCampFormation.lua @@ -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)