神尊红点bug修改
parent
8533fb9a4d
commit
83df159d3f
|
@ -1313,6 +1313,9 @@ function this:OnShow()
|
|||
JumpServerManager.CheckJumpServerhightLadderMainCityRedPoint()
|
||||
--检测鸿蒙碑红点
|
||||
HarmonyManager.CheckRedPoinStatusUpTowerMainCityRed()
|
||||
--设置神尊特权红点
|
||||
this.shenzunRedPoint:SetActive(BagManager.GetItemCountById(15)>=10)
|
||||
|
||||
--山河试炼红点
|
||||
CheckRedPointStatus(RedPointType.FightLevelTrial)
|
||||
CheckRedPointStatus(RedPointType.MingWangPri)
|
||||
|
|
|
@ -15,6 +15,7 @@ function this:InitComponent()
|
|||
this.progressBar=Util.GetGameObject(self.gameObject, "topLayout/progress/progressBar"):GetComponent("Image")
|
||||
this.progressValue=Util.GetGameObject(self.gameObject, "topLayout/progress/value"):GetComponent("Text")
|
||||
this.exchangeBtn=Util.GetGameObject(self.gameObject, "topLayout/exchangeBtn")
|
||||
this.exchangeRedPoint=Util.GetGameObject(self.gameObject, "topLayout/exchangeBtn/redPoint")
|
||||
this.tabGrid=Util.GetGameObject(self.gameObject, "layout/tabScroll/grid")
|
||||
this.tabBtnPre=Util.GetGameObject(self.gameObject, "layout/tabBtnPre")
|
||||
this.selectBtn=Util.GetGameObject(self.gameObject, "layout/tabSelectBtn")
|
||||
|
@ -83,6 +84,10 @@ function this:RemoveListener()
|
|||
end
|
||||
|
||||
function this.UpdateTopInfo()
|
||||
--刷新兑换红点
|
||||
local costPropNum=BagManager.GetItemCountById(15)
|
||||
this.exchangeRedPoint:SetActive(costPropNum>=10)
|
||||
|
||||
curLv=GetShenzunLv()
|
||||
local expNum=BagManager.GetItemCountById(1352)
|
||||
local prestigeConfig=ConfigManager.GetConfigDataByDoubleKey(ConfigName.PrestigeConfig,"Type",1,"Level",curLv)
|
||||
|
|
Loading…
Reference in New Issue