【十五日登录】奖励领完不关闭修复

dev_chengFeng
ZhangBiao 2021-04-13 14:06:42 +08:00
parent c34a3fcc24
commit 6e87c6b41c
1 changed files with 9 additions and 3 deletions

View File

@ -1338,14 +1338,20 @@ function this.RefreshEightGiftPreview()
end
--十五日
if ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.FifteenDayGift) then
FifteenDayGiftManager.InitRewardData()
local bool = FifteenDayGiftManager.CheckRedPoint()
if bool then
this.fgBtn:SetActive(true)
this.rpFifteenDayEffect:SetActive(true)
FifteenDayGiftManager.InitRewardData()
CheckRedPointStatus(RedPointType.FifteenDayGift_1)
else
this.fgBtn:SetActive(false)
this.rpFifteenDayEffect:SetActive(false)
end
else
this.fgBtn:SetActive(false)
this.rpFifteenDayEffect:SetActive(false)
end
end
-- 七日登陆奖励预览