小游戏 修改提交

dev_chengFeng
jiaoyangna 2021-05-28 16:22:04 +08:00
parent 60903eb982
commit 9be6ae227a
1 changed files with 2 additions and 2 deletions

View File

@ -119,10 +119,10 @@ function this.SetCard(table)
end
if table[i] ~= -1 then
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
else
icon.sprite = self.context.spLoader:LoadSprite("r_jieling_hr_3006_SoulCrystal")
icon.sprite = this.context.spLoader:LoadSprite("r_jieling_hr_3006_SoulCrystal")
end
-- _itemsList[i]:SetActive(true)
end