TCX_LongZhu
parent
09fb9c651a
commit
430b11e3d9
|
@ -32,6 +32,7 @@ function InvadeMonsterView:InitComponent(gameObject, fightPointPassMainPanel)
|
|||
this.rewardBoxTimeObj = Util.GetGameObject(this.rewardBox, "time")
|
||||
this.rewardBoxTimeObj:SetActive(true)
|
||||
this.rewardBoxTime = this.rewardBoxTimeObj:GetComponent("Text")
|
||||
this.rewardBoxTimeProgress = Util.GetGameObject(this.rewardBox, "getBoxReward/fill"):GetComponent("Image")
|
||||
this.chapterRedPoint = Util.GetGameObject(self.gameObject, "Bg/btnGroup/btnRewrdChapter/redPoint")
|
||||
this.btnRewrdChapter = Util.GetGameObject(self.gameObject, "Bg/btnGroup/btnRewrdChapter")
|
||||
Util.GetGameObject(self.gameObject, "Bg/btnGroup/btnRewrdChapter/Image"):GetComponent("Image").sprite=this.spLoader:LoadSprite("UI_hz_zhonghe54")
|
||||
|
@ -158,6 +159,7 @@ function this.GetBoxShowState(hangupTime)
|
|||
hangupTime = 0
|
||||
end
|
||||
this.rewardBoxTime.text = TimeToHM(hangupTime)
|
||||
this.rewardBoxTimeProgress.fillAmount = hangupTime / (AdventureManager.adventureOffline*3600)
|
||||
return state
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue