From a9b20b74052a757d95492b72f40de5d2abfb29b9 Mon Sep 17 00:00:00 2001 From: "DESKTOP-MMO982B\\User" <752966621@qq.com> Date: Mon, 24 Mar 2025 20:46:48 +0800 Subject: [PATCH] 1 --- .../~Lua/Modules/MonsterCamp/GodsWayTowerPanel.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/MonsterCamp/GodsWayTowerPanel.lua b/Assets/ManagedResources/~Lua/Modules/MonsterCamp/GodsWayTowerPanel.lua index 2918ec7266..155513fd0a 100644 --- a/Assets/ManagedResources/~Lua/Modules/MonsterCamp/GodsWayTowerPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/MonsterCamp/GodsWayTowerPanel.lua @@ -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