TCX_LongZhu
parent
60b09e947a
commit
a9b20b7405
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue