屏蔽两个活动按钮

onepiece_demo_arena
xiejun 2023-10-20 17:00:49 +08:00
parent 8006a761aa
commit d45dbb9679
1 changed files with 5 additions and 1 deletions

View File

@ -1019,6 +1019,10 @@ function this.CreatActivity()
else
activityTabs[k].timeImg.gameObject:SetActive(true)
end
if v.Id==6 or v.Id==9 then
activityTabs[k].go.gameObject:SetActive(false)
end
activityTabs[k].activityname.text=v.Sesc
if v.ActiveType > 0 then
local activityId = ActivityGiftManager.IsActivityTypeOpen(v.ActiveType)
@ -1055,7 +1059,7 @@ function this.CreatActivity()
end
function this.RefreshLayer(showTab,k,v)
if showTab then
if showTab and v.Id~=6 and v.Id~=9 then
activityTabs[k].go.gameObject:SetActive(true)
if v.ListType == -1 or activeSelfTabs[v.Sort] then
return