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