月卡界面修改提交

dev_chengFeng
wangzhenxing 2023-06-02 16:13:04 +08:00
parent 5f920395c6
commit 545568fa46
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ function MonthCardPage:InitComponent()
self.grid = Util.GetGameObject(self.gameObject, "grid") self.grid = Util.GetGameObject(self.gameObject, "grid")
self.cardPres = {} self.cardPres = {}
self.timerList = {} self.timerList = {}
for i= 1 ,self.grid.transform.childCount do for i= 1 ,3 do
self.cardPres[i] = {} self.cardPres[i] = {}
self.cardPres[i].go = self.grid.transform:GetChild(i - 1).gameObject self.cardPres[i].go = self.grid.transform:GetChild(i - 1).gameObject
self.cardPres[i].month = Util.GetGameObject(self.cardPres[i].go, "small") self.cardPres[i].month = Util.GetGameObject(self.cardPres[i].go, "small")