【太初密卷】喜扑和动游渠道关闭
parent
fe43c56647
commit
642ea1f7cd
|
@ -5,6 +5,9 @@ local floor = math.floor
|
||||||
MainPanel = Inherit(BasePanel)
|
MainPanel = Inherit(BasePanel)
|
||||||
local this = MainPanel
|
local this = MainPanel
|
||||||
local endTime = 0
|
local endTime = 0
|
||||||
|
|
||||||
|
local LoginRoot_Channel = ServerConfigManager.GetVersionInfo("channel")
|
||||||
|
|
||||||
local GlobalActConfig = ConfigManager.GetConfig(ConfigName.GlobalActivity)
|
local GlobalActConfig = ConfigManager.GetConfig(ConfigName.GlobalActivity)
|
||||||
local ActGroupsConfig = ConfigManager.GetConfig(ConfigName.ActivityGroups)
|
local ActGroupsConfig = ConfigManager.GetConfig(ConfigName.ActivityGroups)
|
||||||
local shopItemConfig = ConfigManager.GetConfig(ConfigName.StoreConfig)
|
local shopItemConfig = ConfigManager.GetConfig(ConfigName.StoreConfig)
|
||||||
|
@ -269,6 +272,9 @@ function this:InitComponent()
|
||||||
|
|
||||||
this.taiChuMiJuanBtn = Util.GetGameObject(self.gameObject, "taichumijuan")
|
this.taiChuMiJuanBtn = Util.GetGameObject(self.gameObject, "taichumijuan")
|
||||||
this.taichumijuanRed=Util.GetGameObject(this.taiChuMiJuanBtn, "redPoint")
|
this.taichumijuanRed=Util.GetGameObject(this.taiChuMiJuanBtn, "redPoint")
|
||||||
|
if LoginRoot_Channel == "XP" or LoginRoot_Channel == "DY" then
|
||||||
|
this.taiChuMiJuanBtn:SetActive(false)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function this:SetPosFunc(v2)
|
function this:SetPosFunc(v2)
|
||||||
|
|
Loading…
Reference in New Issue