隐藏商店折后标签
parent
fa9004ef3a
commit
c128514c62
|
|
@ -498,6 +498,7 @@ function this:ShopItemAdapter(shopItem, itemData)
|
|||
effect.gameObject:SetActive(false)
|
||||
Util.SetParticleSortLayer(effect, this.sortingOrder + 1)
|
||||
local bg = Util.GetGameObject(shopItem, "GameObject/bg")
|
||||
local zheObj = Util.GetGameObject(bg, "zheImg")
|
||||
local item = Util.GetGameObject(bg, "item")
|
||||
local itemName = Util.GetGameObject(bg, "itemName"):GetComponent("Text")
|
||||
local itemDes = Util.GetGameObject(bg, "itemDes"):GetComponent("Text")
|
||||
|
|
@ -521,6 +522,7 @@ function this:ShopItemAdapter(shopItem, itemData)
|
|||
|
||||
local goods = ShopManager.GetShopItemGoodsInfo(itemData.id)
|
||||
local con = ConfigManager.GetConfigData(ConfigName.ItemConfig,goods[1][1])
|
||||
zheObj.gameObject:SetActive(false)
|
||||
itemName.text = SubString2(GetLanguageStrById(con.Name),8)
|
||||
if con.ItemType == ItemType.LingShouChip then
|
||||
local haveCount = BagManager.GetTotalItemNum(con.Id)
|
||||
|
|
|
|||
Loading…
Reference in New Issue