屏蔽普通特权入口

wangzhenxing 2022-11-09 10:24:03 +08:00
parent 3c1e1c389d
commit eeca517eaf
3 changed files with 6 additions and 4 deletions

View File

@ -37,7 +37,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 555.1, y: -34.2}
m_AnchoredPosition: {x: 391.4, y: -34.2}
m_SizeDelta: {x: 76, y: 66}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &894663350

View File

@ -550,7 +550,8 @@ end
function this.refreshVipTask()
local t, task = VipManager.GetVipTaskShowInFight()
-- 满级后不再显示
this.mainTask:SetActive(t ~= -1)
--this.mainTask:SetActive(t ~= -1)
this.mainTask:SetActive(false)
if t == 0 then
-- 能激活时显示激活特权
this.titleText.text = "前往升级特权"

View File

@ -145,8 +145,9 @@ function PlayerInfoView:SetLayer(sortingOrder)
end
function PlayerInfoView:SetPrivilegeShow(isShow)
self.vipPrivilegeBtn:SetActive(not not isShow)
self.btn_mingwang:SetActive(not not isShow)
self.vipPrivilegeBtn:SetActive(false)
--self.btn_mingwang:SetActive(not not isShow)
self.btn_mingwang:SetActive(true)
end
return PlayerInfoView