魂印圈圈错误修改
parent
6f24638e3e
commit
283f9d209a
|
@ -312,12 +312,14 @@ function this:SetSoulPrintData(_go, _itemData,index)
|
|||
local quality = Util.GetGameObject(_go.gameObject, "quality"):GetComponent("Image")
|
||||
local circle = Util.GetGameObject(_go.gameObject, "circle"):GetComponent("Image")
|
||||
local icon = Util.GetGameObject(circle.gameObject, "icon"):GetComponent("Image")
|
||||
local circleFrame = Util.GetGameObject(circle.gameObject, "circleFrame"):GetComponent("Image")
|
||||
local name = Util.GetGameObject(_go.gameObject, "name"):GetComponent("Text")
|
||||
local level = Util.GetGameObject(_go.gameObject, "level"):GetComponent("Text")
|
||||
local chooseImage = Util.GetGameObject(_go.gameObject, "chooseImage")
|
||||
quality.sprite = this.spLoader:LoadSprite(_itemData.frame)--GetQuantityImageByquality(_itemData.quality))
|
||||
icon.sprite = this.spLoader:LoadSprite(_itemData.icon)
|
||||
circle.sprite = this.spLoader:LoadSprite(SoulPrintSpriteByQuantity[_itemData.quality].circle)
|
||||
circle.sprite = this.spLoader:LoadSprite(SoulPrintSpriteByQuantity[_itemData.quality].circleBg2)
|
||||
circleFrame.sprite = this.spLoader:LoadSprite(SoulPrintSpriteByQuantity[_itemData.quality].circle)
|
||||
name.text = SubString2(GetLanguageStrById(_itemData.itemConfig.Name), 8)
|
||||
level.gameObject:SetActive(false)
|
||||
chooseImage:SetActive(_itemData.isSelect)
|
||||
|
|
Loading…
Reference in New Issue