屏蔽普通特权入口
parent
3c1e1c389d
commit
eeca517eaf
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 = "前往升级特权"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Reference in New Issue