特效修改
parent
d5c743e302
commit
29d8059755
|
@ -4,7 +4,7 @@ local this = NotEnoughPopup
|
||||||
|
|
||||||
-- 跳转商店购买窗口,物品id对应界面及参数
|
-- 跳转商店购买窗口,物品id对应界面及参数
|
||||||
local _JumpConfig = {
|
local _JumpConfig = {
|
||||||
[16] = {36010},
|
[16] = 36010,
|
||||||
--[15] = {36010},
|
--[15] = {36010},
|
||||||
--[16] = {36010},
|
--[16] = {36010},
|
||||||
}
|
}
|
||||||
|
|
|
@ -181,6 +181,13 @@ function GiftPre:SetData(data,_parent,_rechargeNum,sortingOrder)
|
||||||
self.tipImage.gameObject:SetActive(false)
|
self.tipImage.gameObject:SetActive(false)
|
||||||
end
|
end
|
||||||
Util.SetParticleSortLayer(self.UI_Effect_MianBan_LiBao_button_01, sortingOrder or 0)
|
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
|
local isshow = false
|
||||||
if self.data.DataType == DynamicActivityManager.selectIndex.dataType then
|
if self.data.DataType == DynamicActivityManager.selectIndex.dataType then
|
||||||
for i = 1 , #DynamicActivityManager.selectIndex.goodsId do
|
for i = 1 , #DynamicActivityManager.selectIndex.goodsId do
|
||||||
|
@ -190,9 +197,10 @@ function GiftPre:SetData(data,_parent,_rechargeNum,sortingOrder)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
if self.isCanBuy == 2 then
|
||||||
|
isshow = false
|
||||||
|
end
|
||||||
self.UI_Effect_MianBan_LiBao_button_01.gameObject:SetActive(isshow)
|
self.UI_Effect_MianBan_LiBao_button_01.gameObject:SetActive(isshow)
|
||||||
self:SetIcon(self.data)
|
|
||||||
self:SetContent1()
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function GiftPre:SetContent1()
|
function GiftPre:SetContent1()
|
||||||
|
|
Loading…
Reference in New Issue