小游戏 修改提交
parent
60903eb982
commit
9be6ae227a
|
@ -119,10 +119,10 @@ function this.SetCard(table)
|
||||||
end
|
end
|
||||||
if table[i] ~= -1 then
|
if table[i] ~= -1 then
|
||||||
local name = this.atrConfig[this.itemConfig[this.gameConfig[table[i]].RewardID].ResourceID].Name
|
local name = this.atrConfig[this.itemConfig[this.gameConfig[table[i]].RewardID].ResourceID].Name
|
||||||
icon.sprite = self.context.spLoader:LoadSprite(name)
|
icon.sprite = this.context.spLoader:LoadSprite(name)
|
||||||
num.text = this.gameConfig[table[i]].Max
|
num.text = this.gameConfig[table[i]].Max
|
||||||
else
|
else
|
||||||
icon.sprite = self.context.spLoader:LoadSprite("r_jieling_hr_3006_SoulCrystal")
|
icon.sprite = this.context.spLoader:LoadSprite("r_jieling_hr_3006_SoulCrystal")
|
||||||
end
|
end
|
||||||
-- _itemsList[i]:SetActive(true)
|
-- _itemsList[i]:SetActive(true)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue