数字游戏按钮控制

dev_chengFeng
yuanshuai 2022-07-18 16:05:39 +08:00
parent 62a0903bc1
commit e7db9b7373
2 changed files with 2 additions and 1 deletions

View File

@ -1712,6 +1712,7 @@ FUNCTION_OPEN_TYPE = {
GodPrint=126,--神印 GodPrint=126,--神印
CROSS_CART=127,--跨服聊天 CROSS_CART=127,--跨服聊天
CROSS_RANK=128,--跨服排行榜 CROSS_RANK=128,--跨服排行榜
Number_Game=149,--数字游戏
} }
TaskGetBtnIconDef = { TaskGetBtnIconDef = {

View File

@ -215,7 +215,7 @@ function FightPointPassMainPanel:InitComponent()
this.funcBtnList[FUNCTION_OPEN_TYPE.XiaoYaoYou] = this.btnXiaoYao this.funcBtnList[FUNCTION_OPEN_TYPE.XiaoYaoYou] = this.btnXiaoYao
--数字游戏按钮 --数字游戏按钮
this.numberGameBtn=Util.GetGameObject(self.gameObject,"Bg/RightUpVertical/numberGameBtn") 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.openFun = Util.GetGameObject(self.gameObject, "Bg/RightUpVertical/openFun")
this.openFunNeedInfo = Util.GetGameObject(self.gameObject, "Bg/RightUpVertical/openFun/needInfo"):GetComponent("Text") this.openFunNeedInfo = Util.GetGameObject(self.gameObject, "Bg/RightUpVertical/openFun/needInfo"):GetComponent("Text")