【逍遥游】功能入口随功能开启添加
parent
0d4fd1a210
commit
f53a566ce8
|
@ -1258,6 +1258,7 @@ FUNCTION_OPEN_TYPE = {
|
|||
CARDELAY = 73,
|
||||
PEOPLE_MIRROR=74,--轩辕宝镜
|
||||
COMPOUND_HERO=78,--神将合成、置换
|
||||
XiaoYaoYou = 80, -- 逍遥游
|
||||
}
|
||||
|
||||
TaskGetBtnIconDef = {
|
||||
|
|
|
@ -206,6 +206,7 @@ function FightPointPassMainPanel:InitComponent()
|
|||
--逍遥游入口
|
||||
this.btnXiaoYao=Util.GetGameObject(self.gameObject,"Bg/RightUpVertical/xiaoyaoBtn")
|
||||
this.xiaoyaoRedPoint=Util.GetGameObject(self.gameObject,"Bg/RightUpVertical/xiaoyaoBtn/redPoint")
|
||||
this.funcBtnList[FUNCTION_OPEN_TYPE.XiaoYaoYou] = this.btnXiaoYao
|
||||
--解锁功能
|
||||
this.openFun = Util.GetGameObject(self.gameObject, "Bg/RightUpVertical/openFun")
|
||||
this.openFunNeedInfo = Util.GetGameObject(self.gameObject, "Bg/RightUpVertical/openFun/needInfo"):GetComponent("Text")
|
||||
|
@ -915,5 +916,6 @@ end
|
|||
function this.RefreshBattleUpLvTip()
|
||||
this.battleUpLvTip:SetActive(true)
|
||||
end
|
||||
|
||||
--开服福利显示 结束
|
||||
return FightPointPassMainPanel
|
|
@ -424,7 +424,7 @@ function this.RegisterRedCheckFunc()
|
|||
RPData:AddCheckFunc(RedPointType.QinglongSerectTreasureTrail, QinglongSerectTreasureManager.GetSerectTreasureTrailRedPot)
|
||||
RPData:AddCheckFunc(RedPointType.WeekGiftPage,OperatingManager.CheckWeekGiftPageRedPoint)
|
||||
RPData:AddCheckFunc(RedPointType.MonthGiftPage,OperatingManager.CheckMonthGiftPageRedPoint)
|
||||
RPData:AddCheckFunc(RedPointType.XiaoYaoYouRedPoint,XiaoYaoManager.CheckRedPoint)
|
||||
RPData:AddCheckFunc(RedPointType.XiaoYaoYouRedPoint, XiaoYaoManager.CheckRedPoint, FUNCTION_OPEN_TYPE.XiaoYaoYou)
|
||||
end
|
||||
|
||||
|
||||
|
|
|
@ -229,7 +229,10 @@ function this.UpdateYunYouVleShow()
|
|||
end
|
||||
--界面关闭时调用(用于子类重写)
|
||||
function this:OnClose()
|
||||
|
||||
if this.timer then
|
||||
this.timer:Stop()
|
||||
end
|
||||
this.timer = nil
|
||||
end
|
||||
|
||||
--界面销毁时调用(用于子类重写)
|
||||
|
|
Loading…
Reference in New Issue