变身卡商店bug修改
parent
085c7add9f
commit
080f04ebbe
|
@ -589,13 +589,13 @@ function this:ShopItemAdapter(shopItem, itemData)
|
||||||
new.gameObject:SetActive(false)
|
new.gameObject:SetActive(false)
|
||||||
end
|
end
|
||||||
yihuode.gameObject:SetActive(false)
|
yihuode.gameObject:SetActive(false)
|
||||||
if con.ItemType == ItemType.Incarnation and not isEmpty then
|
-- if con.ItemType == ItemType.Incarnation and not isEmpty then
|
||||||
local num = BagManager.GetItemCountById(con.Id)
|
-- local num = BagManager.GetItemCountById(con.Id)
|
||||||
if num > 0 or IncarnationManager.GetStatusByItemId(con.Id) >= 0 then
|
-- if num > 0 or IncarnationManager.GetStatusByItemId(con.Id) >= 0 then
|
||||||
yihuode.gameObject:SetActive(true)
|
-- yihuode.gameObject:SetActive(true)
|
||||||
Util.SetColor(bg, Color.New(0.5, 0.5, 0.5, 1))
|
-- Util.SetColor(bg, Color.New(0.5, 0.5, 0.5, 1))
|
||||||
end
|
-- end
|
||||||
end
|
-- end
|
||||||
|
|
||||||
|
|
||||||
-- 购买事件
|
-- 购买事件
|
||||||
|
|
Loading…
Reference in New Issue