parent
13baaecb11
commit
415128191c
|
|
@ -170,11 +170,11 @@ function this:UIChange()
|
|||
|
||||
--特权
|
||||
local isActive = PrivilegeManager.GetPrivilegeOpenStatusById(33)
|
||||
this.privilegePanel:SetActive(not isActive)
|
||||
local channelConfig = GetChannelConfig()
|
||||
this.privilegePanel:SetActive(not isActive and channelConfig.Button_PlayerSet_Exchange)
|
||||
Util.GetGameObject(this.privilegePanel, "desc"):GetComponent("Text").text = GetLanguageStrById(PrivilegeConfig.Desc)
|
||||
Util.GetGameObject(this.btnBuyPrivilege, "Text"):GetComponent("Text").text = MoneyUtil.GetMoney(PrivilegeConfig.Price)
|
||||
local grid = Util.GetGameObject(this.privilegePanel, "grid")
|
||||
|
||||
this.activatedPanel:SetActive(isActive)
|
||||
if isActive then
|
||||
local time = PrivilegeManager.GetPrivilegeLeftTimeById(33)
|
||||
|
|
|
|||
Loading…
Reference in New Issue