调整修行界面的按钮(PracticePanel)

xiejun 2023-11-11 16:15:28 +08:00
parent f580db9af8
commit 164e8afd3b
2 changed files with 1914 additions and 44 deletions

View File

@ -33,12 +33,12 @@ function Practice:InitComponent()
self.gemBtn = Util.GetGameObject(self.Btns, "rightGrid/gemBtn") self.gemBtn = Util.GetGameObject(self.Btns, "rightGrid/gemBtn")
self.gemRedPoint = Util.GetGameObject(self.gemBtn, "redPoint") self.gemRedPoint = Util.GetGameObject(self.gemBtn, "redPoint")
Util.GetGameObject(self.Btns, "rightGrid/gemBtn"):GetComponent("Image").sprite=self.spLoader:LoadSprite("x_xiuxing_mingge_zh") -- Util.GetGameObject(self.Btns, "rightGrid/gemBtn"):GetComponent("Image").sprite=self.spLoader:LoadSprite("x_xiuxing_mingge_zh")
self.giftBtn = Util.GetGameObject(self.Btns, "rightGrid/giftBtn") self.giftBtn = Util.GetGameObject(self.Btns, "rightGrid/giftBtn")
self.giftRedPoint = Util.GetGameObject(self.giftBtn, "redPoint") self.giftRedPoint = Util.GetGameObject(self.giftBtn, "redPoint")
self.giftRedPoint:SetActive(false) self.giftRedPoint:SetActive(false)
Util.GetGameObject(self.Btns, "rightGrid/giftBtn"):GetComponent("Image").sprite=self.spLoader:LoadSprite("s_gift_player_zh") -- Util.GetGameObject(self.Btns, "rightGrid/giftBtn"):GetComponent("Image").sprite=self.spLoader:LoadSprite("s_gift_player_zh")
self.fourQuadrantBtn = Util.GetGameObject(self.Btns, "rightGrid/yushenBtn") self.fourQuadrantBtn = Util.GetGameObject(self.Btns, "rightGrid/yushenBtn")
self.fourQuadrantRedPoint = Util.GetGameObject(self.fourQuadrantBtn, "redPoint") self.fourQuadrantRedPoint = Util.GetGameObject(self.fourQuadrantBtn, "redPoint")
self.starNum = Util.GetGameObject(self.starBtn, "starNum"):GetComponent("Text") self.starNum = Util.GetGameObject(self.starBtn, "starNum"):GetComponent("Text")