tcx_xiyou_yueNan
parent
4b6f92a880
commit
d5f6f95e42
|
|
@ -297,7 +297,7 @@ function GodsWayTowerPanel:OnShow()
|
|||
-- end
|
||||
end
|
||||
|
||||
function this.SingleDataShow(go, data)
|
||||
function GodsWayTowerPanel:SingleDataShow(go, data)
|
||||
local singledata = GodsWaySingleSingleWave:New(go)
|
||||
--go:GetComponent("RectTransform").sizeDelta=Vector2.New(screenwidth,380)
|
||||
singledata:InitComponent(go, data, curType,self.sortingOrder +1 )
|
||||
|
|
@ -311,7 +311,7 @@ function this.InitMonsterShow()
|
|||
LogError("monsterInfo==" .. #monsterInfo)
|
||||
table.sort(monsterInfo, function(a, b) return a.wave > b.wave end)
|
||||
this.scrollView:SetData(monsterInfo, function(index, go)
|
||||
local tempData = this.SingleDataShow(go, monsterInfo[index])
|
||||
local tempData = this:SingleDataShow(go, monsterInfo[index])
|
||||
this.singledataList[monsterInfo[index].wave] = tempData
|
||||
--this.singlePreList[go] = this.singledataList[monsterInfo[index].wave]
|
||||
end, true, true)
|
||||
|
|
|
|||
Loading…
Reference in New Issue