TCX_LongZhu
parent
414bfa9372
commit
0c3a03ec89
|
|
@ -684,6 +684,7 @@ function this:RechargeShopItemAdapter(shopItem, itemData)
|
|||
-- 获取对象
|
||||
local first = Util.GetGameObject(shopItem, "first")
|
||||
local firstNum = Util.GetGameObject(shopItem, "first/Text"):GetComponent("Text")
|
||||
local firstIcon = Util.GetGameObject(shopItem, "first/itemIcon"):GetComponent("Image")
|
||||
local xuChong = Util.GetGameObject(shopItem, "xuChong")
|
||||
local xuNum = Util.GetGameObject(shopItem, "xuChong/Text"):GetComponent("Text")
|
||||
local icon = Util.GetGameObject(shopItem, "icon"):GetComponent("Image")
|
||||
|
|
@ -704,6 +705,7 @@ function this:RechargeShopItemAdapter(shopItem, itemData)
|
|||
first:SetActive(curBuyCount < 1)
|
||||
if itemInfo.FirstMultiple then
|
||||
firstNum.text = itemInfo.FirstMultiple[1][2]
|
||||
firstIcon.sprite = SetIcon(self.spLoader, itemInfo.FirstMultiple[1][1])
|
||||
else
|
||||
firstNum.text = ""
|
||||
first:SetActive(false)
|
||||
|
|
|
|||
Loading…
Reference in New Issue