【推送礼包】名称修改
parent
81421a2e49
commit
ad182335d9
|
@ -23,9 +23,9 @@ local activityType = {
|
||||||
[5] = {name = "灵兽推送礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 31,Text = "恭喜您获得极品灵兽,这是为您准备的灵兽成长礼包,助您实力飞升"},
|
[5] = {name = "灵兽推送礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 31,Text = "恭喜您获得极品灵兽,这是为您准备的灵兽成长礼包,助您实力飞升"},
|
||||||
[6] = {name = "惊喜礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 33,Text = "购买惊喜礼盒成功激活限时豪礼,祝您战力飞升,一路通关"},
|
[6] = {name = "惊喜礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 33,Text = "购买惊喜礼盒成功激活限时豪礼,祝您战力飞升,一路通关"},
|
||||||
[7] = {name = "轩辕宝境推送礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 36,Text = "恭喜您挑战了轩辕宝境,这是为您准备的宝物礼包,助您实力飞升"},
|
[7] = {name = "轩辕宝境推送礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 36,Text = "恭喜您挑战了轩辕宝境,这是为您准备的宝物礼包,助您实力飞升"},
|
||||||
[8] = {name = "神树养成礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 37,Text = "恭喜您完成了宝物精炼,这是为您准备的宝物进阶礼包,助您实力飞升"},
|
[8] = {name = "宝物精炼礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 37,Text = "恭喜您完成了宝物精炼,这是为您准备的宝物进阶礼包,助您实力飞升"},
|
||||||
[9] = {name = "轩辕宝境推送礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 38,Text = "恭喜您挑战了四灵试炼,这是为您准备的神树养成礼包,助您实力飞升"},
|
[9] = {name = "四灵试炼推送礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 38,Text = "恭喜您挑战了四灵试炼,这是为您准备的神树养成礼包,助您实力飞升"},
|
||||||
[10] = {name = "神树养成礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 39,Text = "恭喜您获得了红色品质宝物,这是为您准备的红色宝物礼包,助您实力飞升"},
|
[10] = {name = "红色宝物礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 39,Text = "恭喜您获得了红色品质宝物,这是为您准备的红色宝物礼包,助您实力飞升"},
|
||||||
}
|
}
|
||||||
--初始化组件(用于子类重写)
|
--初始化组件(用于子类重写)
|
||||||
function this:InitComponent()
|
function this:InitComponent()
|
||||||
|
@ -183,7 +183,7 @@ function this:Refresh()
|
||||||
for k,v in pairs(activityType) do
|
for k,v in pairs(activityType) do
|
||||||
Util.GetGameObject(self.gameObject,v.comp):SetActive(false)
|
Util.GetGameObject(self.gameObject,v.comp):SetActive(false)
|
||||||
end
|
end
|
||||||
Util.GetGameObject(self.gameObject,activityType[curType].comp):SetActive(true)
|
Util.GetGameObject(self.gameObject, activityType[curType].comp):SetActive(true)
|
||||||
|
|
||||||
rechargeNum= VipManager.GetChargedNum()
|
rechargeNum= VipManager.GetChargedNum()
|
||||||
curGiftId = rechargeData.goodsId
|
curGiftId = rechargeData.goodsId
|
||||||
|
|
Loading…
Reference in New Issue