多队塔编对修改提交

dev_chengFeng
wangzhenxing 2023-04-20 13:13:22 +08:00
parent 7c2598c7e7
commit 42aeb38e6f
2 changed files with 4 additions and 0 deletions

View File

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

View File

@ -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="可以拖动队伍进行顺序交换"