【编队优化】切磋增加一键
(cherry picked from commit e7a178aa0d99c0e9257c029ecabac2dac0a9b9d4)dev_chengFeng
parent
13e2fbb98d
commit
2df4f34c76
|
@ -203,6 +203,7 @@ function this:OnSortingOrderChange()
|
|||
end
|
||||
|
||||
function this:OnOpen(_panelType,...)
|
||||
Log("panelType:".._panelType)
|
||||
panelType = _panelType
|
||||
if panelType == FORMATION_TYPE.EXPEDITION or panelType == FORMATION_TYPE.CARBON then
|
||||
for k,v in pairs(bgListGo) do
|
||||
|
|
|
@ -17,6 +17,10 @@ function this.GetFormationIndex()
|
|||
end
|
||||
--- 提交按钮点击事件
|
||||
function this.On_Btn1_Click()
|
||||
this.root.SetOneKeyGo()
|
||||
end
|
||||
---
|
||||
function this.On_Btn2_Click()
|
||||
if this.root.order>=1 then
|
||||
--保存编队
|
||||
FormationManager.RefreshFormation(this.root.curFormationIndex, this.root.choosedList,
|
||||
|
@ -58,7 +62,9 @@ end
|
|||
function this.InitView()
|
||||
this.root.bg:SetActive(true)
|
||||
this.root.btn_1:SetActive(true)
|
||||
this.root.btn_1_lab.text = Language[10742]
|
||||
this.root.btn_1_lab.text = Language[10743]
|
||||
this.root.btn_2:SetActive(true)
|
||||
this.root.btn_2_lab.text = Language[10742]
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue