【每日豪礼】领完不消失
parent
5e423f2ebe
commit
b9c5d93f0f
|
@ -1155,13 +1155,13 @@ function this.RefreshActivityBtn(context)
|
|||
if v.ActiveType > 0 and v.ActiveType == context.type then
|
||||
local activityId = ActivityGiftManager.IsActivityTypeOpen(v.ActiveType)
|
||||
if activityId and activityId > 0 and ActivityGiftManager.IsQualifiled(v.ActiveType) then
|
||||
activityTabs[k].go.gameObject:SetActive(true)
|
||||
activityTabs[k].go.gameObject:SetActive(context.status == 1)
|
||||
else
|
||||
activityTabs[k].go.gameObject:SetActive(false)
|
||||
end
|
||||
elseif v.FunType > 0 and v.FunType == context.type then
|
||||
if ActTimeCtrlManager.SingleFuncState(v.FunType) then
|
||||
activityTabs[k].go.gameObject:SetActive(true)
|
||||
activityTabs[k].go.gameObject:SetActive(context.status == 1)
|
||||
else
|
||||
activityTabs[k].go.gameObject:SetActive(false)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue