特效修改

dev_chengFeng
jiaoyangna 2021-03-31 17:55:33 +08:00
parent d5c743e302
commit 29d8059755
2 changed files with 11 additions and 3 deletions

View File

@ -4,7 +4,7 @@ local this = NotEnoughPopup
-- 跳转商店购买窗口物品id对应界面及参数
local _JumpConfig = {
[16] = {36010},
[16] = 36010,
--[15] = {36010},
--[16] = {36010},
}

View File

@ -181,6 +181,13 @@ function GiftPre:SetData(data,_parent,_rechargeNum,sortingOrder)
self.tipImage.gameObject:SetActive(false)
end
Util.SetParticleSortLayer(self.UI_Effect_MianBan_LiBao_button_01, sortingOrder or 0)
self:SetIcon(self.data)
self:SetContent1()
self:Effect()
end
function GiftPre:Effect()
local isshow = false
if self.data.DataType == DynamicActivityManager.selectIndex.dataType then
for i = 1 , #DynamicActivityManager.selectIndex.goodsId do
@ -190,9 +197,10 @@ function GiftPre:SetData(data,_parent,_rechargeNum,sortingOrder)
end
end
end
if self.isCanBuy == 2 then
isshow = false
end
self.UI_Effect_MianBan_LiBao_button_01.gameObject:SetActive(isshow)
self:SetIcon(self.data)
self:SetContent1()
end
function GiftPre:SetContent1()