From d5f6f95e42a56d49fb5a13386c8a229390112c39 Mon Sep 17 00:00:00 2001 From: vurtne14 Date: Sun, 20 Sep 2026 10:54:08 +0800 Subject: [PATCH] 1 --- .../~Lua/Modules/MonsterCamp/GodsWayTowerPanel.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/MonsterCamp/GodsWayTowerPanel.lua b/Assets/ManagedResources/~Lua/Modules/MonsterCamp/GodsWayTowerPanel.lua index 119cfff09f..1030d50693 100644 --- a/Assets/ManagedResources/~Lua/Modules/MonsterCamp/GodsWayTowerPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/MonsterCamp/GodsWayTowerPanel.lua @@ -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)