特效修改
parent
d5c743e302
commit
29d8059755
|
@ -4,7 +4,7 @@ local this = NotEnoughPopup
|
|||
|
||||
-- 跳转商店购买窗口,物品id对应界面及参数
|
||||
local _JumpConfig = {
|
||||
[16] = {36010},
|
||||
[16] = 36010,
|
||||
--[15] = {36010},
|
||||
--[16] = {36010},
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue