diff --git a/Assets/ManagedResources/~Lua/Common/GlobalDefine.lua b/Assets/ManagedResources/~Lua/Common/GlobalDefine.lua index 7afab3f6b9..72488e73db 100644 --- a/Assets/ManagedResources/~Lua/Common/GlobalDefine.lua +++ b/Assets/ManagedResources/~Lua/Common/GlobalDefine.lua @@ -1712,6 +1712,7 @@ FUNCTION_OPEN_TYPE = { GodPrint=126,--神印 CROSS_CART=127,--跨服聊天 CROSS_RANK=128,--跨服排行榜 + Number_Game=149,--数字游戏 } TaskGetBtnIconDef = { diff --git a/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua b/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua index 9395240dfb..867558bc35 100644 --- a/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua @@ -215,7 +215,7 @@ function FightPointPassMainPanel:InitComponent() this.funcBtnList[FUNCTION_OPEN_TYPE.XiaoYaoYou] = this.btnXiaoYao --数字游戏按钮 this.numberGameBtn=Util.GetGameObject(self.gameObject,"Bg/RightUpVertical/numberGameBtn") - this.numberGameBtn:SetActive(false) + this.funcBtnList[FUNCTION_OPEN_TYPE.Number_Game] = this.numberGameBtn --解锁功能 this.openFun = Util.GetGameObject(self.gameObject, "Bg/RightUpVertical/openFun") this.openFunNeedInfo = Util.GetGameObject(self.gameObject, "Bg/RightUpVertical/openFun/needInfo"):GetComponent("Text")