限时召唤提交
parent
070fb43964
commit
9b138fe566
|
@ -45,7 +45,9 @@ function TimeLimitedCall:InitComponent(gameObject)
|
|||
self.nextReward = Util.GetGameObject(self.gameObject, "nextlevel/reward")
|
||||
self.icon = Util.GetGameObject(self.frame.gameObject, "icon"):GetComponent("Image")
|
||||
self.detail= Util.GetGameObject(self.gameObject, "detail")
|
||||
self.detail.gameObject:SetActive(false)
|
||||
self.reward= Util.GetGameObject(self.gameObject, "reward")
|
||||
self.reward.gameObject:SetActive(false)
|
||||
self.getBtn=Util.GetGameObject(self.gameObject,"nextlevel")
|
||||
self.effect=Util.GetGameObject(self.gameObject,"juneng_chenggong")
|
||||
|
||||
|
@ -312,6 +314,8 @@ end
|
|||
|
||||
function TimeLimitedCall:OnHide()
|
||||
self.gameObject:SetActive(false)
|
||||
self.detail.gameObject:SetActive(false)
|
||||
self.reward.gameObject:SetActive(false)
|
||||
if self.timer then
|
||||
self.timer:Stop()
|
||||
self.timer = nil
|
||||
|
|
Loading…
Reference in New Issue