TCX_LongZhu
DESKTOP-MMO982B\User 2025-03-24 20:46:48 +08:00
parent 60b09e947a
commit a9b20b7405
1 changed files with 3 additions and 3 deletions

View File

@ -63,8 +63,8 @@ function GodsWayTowerPanel:InitComponent()
-- this.btnHelpFight:GetComponent("Image").sprite = this.spLoader:LoadSprite("godsWayTower_treasure_zh")
this.rewardItemPre = Util.GetGameObject(self.gameObject, "InfoRoot/rewardContent/item")
this.rewardGrid = Util.GetGameObject(self.gameObject, "InfoRoot/rewardContent")
this.rewardTxt = Util.GetGameObject(self.gameObject, "InfoRoot/getBoxReward/time"):GetComponent("Text")
this.progress = Util.GetGameObject(self.gameObject, "InfoRoot/getBoxReward/fill"):GetComponent("Image")
this.rewardTxt = Util.GetGameObject(self.gameObject, "InfoRoot/getBoxReward/time/Text"):GetComponent("Text")
--this.progress = Util.GetGameObject(self.gameObject, "InfoRoot/getBoxReward/fill"):GetComponent("Image")
this.rewardRed = Util.GetGameObject(self.gameObject, "InfoRoot/getBoxReward/rewardBoxRedPoint")
this.btn_reward = Util.GetGameObject(self.gameObject, "InfoRoot/getBoxReward")
end
@ -203,7 +203,7 @@ function this.GetBoxShowState(hangupTime)
hangupTime = 0
end
this.rewardTxt.text = TimeToHM(hangupTime)
this.progress.fillAmount = hangupTime / (AdventureManager.adventureOffline * 3600)
--this.progress.fillAmount = hangupTime / (AdventureManager.adventureOffline * 3600)
return state
end