多队塔编对修改提交
parent
7c2598c7e7
commit
42aeb38e6f
|
@ -341,6 +341,8 @@ function this:OnDestroy()
|
|||
SubUIManager.Close(this.UpView)
|
||||
SubUIManager.Close(this.ElementalResonanceView)
|
||||
dragViewListGo={}
|
||||
this.choosedList={}
|
||||
heroListGo={}
|
||||
this.scrollView = nil
|
||||
end
|
||||
|
||||
|
@ -1013,6 +1015,7 @@ function this.SingleHeroDataShow(_go, _heroData)
|
|||
local formationAction = FORMATION_ACTION.UP
|
||||
for k, v in ipairs(this.choosedList) do
|
||||
if v.heroId == heroData.dynamicId then
|
||||
LogError("现在是下阵")
|
||||
formationAction = FORMATION_ACTION.DOWN
|
||||
break
|
||||
end
|
||||
|
|
|
@ -62,6 +62,7 @@ function GodsWayMyTeamPanel:InitComponent()
|
|||
self.btnBack = Util.GetGameObject(self.gameObject, "Frame/BackBtn")
|
||||
self.mask = Util.GetGameObject(self.gameObject, "mask")
|
||||
self.Content = Util.GetGameObject(self.gameObject, "Frame/Content")
|
||||
Util.GetGameObject(self.gameObject, "Frame/title"):GetComponent("Text").text="封神之路编队"
|
||||
self.tempInfo = Util.GetGameObject(self.Content, "tempInfo")
|
||||
self.tipTxt=Util.GetGameObject(self.gameObject, "Frame/Text"):GetComponent("Text")
|
||||
self.tipTxt.text="可以拖动队伍进行顺序交换"
|
||||
|
|
Loading…
Reference in New Issue