乾坤宝盒修改提交

jiaoyangna 2020-09-10 14:44:51 +08:00
parent 3e5e41b8ff
commit a06e4abf56
2 changed files with 3 additions and 4 deletions

View File

@ -46,7 +46,7 @@ function ActivityDetail:OnShow()
self.content.text= str
local str2
--判断抽取的类型
if panelType == 1 then--破阵诛仙
if panelType == 1 then--限时召唤
self:ReFreshUpHero()
self:RefreshHeroRate()
str2=ActivityGiftManager.GetTimeStartToEnd(ActivityTypeDef.FindFairy)

View File

@ -77,7 +77,7 @@ function QianKunBox:BindEvent()
self.effect:SetActive(false)
ActivityDetail.new(self.detail,2,self.effect)
end)
Util.AddClick(self.btnStore,function()
Util.AddClick(self.btnStore,function()
self.effect:SetActive(false)
self.shop:SetActive(true)
self.btnBack:SetActive(false)
@ -85,6 +85,7 @@ function QianKunBox:BindEvent()
self.bottomBar:SetActive(false)
self.livename = "live2d_ui_h_52_xx_pf1"
self.liveNode = poolManager:LoadLive(self.livename, self.live.transform, Vector3.New(0.25,0.25,0.25), Vector3.New(123,214,0))
self:storeShow()--商店
end)
Util.AddClick(self.shopBack,function()
self.effect:SetActive(true)
@ -111,7 +112,6 @@ function QianKunBox:OnShow(sortingOrder)
self:refreshBtnShow()--刷新按钮显示
self:contentShow()--五个魂印头像
self:storeShow()--商店
self:timeCountDown()--时间
end
@ -239,7 +239,6 @@ function QianKunBox:storeShow()
self.shopView = SubUIManager.Open(SubUIConfig.ShopView, self.content.transform)
end
self.shopView:ShowShop(SHOP_TYPE.QIANKUNBOX_SHOP,orginLayer)
end
--时间