qinglong commit

jiaoyangna 2020-10-01 00:05:54 +08:00
parent d43d4970e7
commit 9bc710ce58
1 changed files with 8 additions and 2 deletions

View File

@ -132,8 +132,14 @@ function this.TabAdapter(tab, index, status)
Util.GetGameObject(tab,"Image"):GetComponent("Image").sprite = Util.LoadSprite(_TabData[index][status]) Util.GetGameObject(tab,"Image"):GetComponent("Image").sprite = Util.LoadSprite(_TabData[index][status])
tabLab:GetComponent("Text").text = _TabData[index].name tabLab:GetComponent("Text").text = _TabData[index].name
tabLab:GetComponent("Text").color = _TabFontColor[status] tabLab:GetComponent("Text").color = _TabFontColor[status]
if _TabData[index].type ~= -1 and not ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.SUNLONG) then if _TabData[index].type ~= -1 then
tab.gameObject:SetActive(false) if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.SUNLONG) and ActivityGiftManager.GetActivityOpenStatus( _TabData[index].type) then
tab.gameObject:SetActive(true)
else
tab.gameObject:SetActive(false)
end
else
tab.gameObject:SetActive(true)
end end
end end