【神魂】神魂头像框修改
parent
9fca63f5a1
commit
b7c354befe
|
@ -2036,7 +2036,7 @@ function LanguageFontSizeFilter(text, size)
|
|||
end
|
||||
|
||||
function SetHeroIcon(spLoader, heroData,icon,heroConfig)
|
||||
LogGreen("heroData.skinId:"..tostring(heroData.skinId))
|
||||
-- LogGreen("heroData.skinId:"..tostring(heroData.skinId))
|
||||
if not heroData.skinId or heroData.skinId == 0 then
|
||||
icon.sprite = spLoader:LoadSprite(GetResourcePath(heroConfig.Icon))
|
||||
else
|
||||
|
|
|
@ -269,6 +269,7 @@ function RoleGodSoulLayout:UpdataSingleGod2(index)
|
|||
local tempHeroData = HeroManager.GetSingleHeroData(self.gridList[index].upHeroDataList[i])
|
||||
self:SetHeroData(self.gridList[index].upHeroList[i].go,tempHeroData,false)
|
||||
Util.SetGray(self.gridList[index].upHeroList[i].icon.gameObject,false)
|
||||
self.gridList[index].upHeroList[i].frame.sprite = self.spLoader:LoadSprite(GetHeroQuantityImageByquality(self.godDatas[index][i].star,self.godDatas[index][i].star))
|
||||
else
|
||||
self.gridList[index].upHeroList[i].frame.sprite = self.spLoader:LoadSprite(GetHeroQuantityImageByquality(self.godDatas[index][i].star,self.godDatas[index][i].star))
|
||||
SetHeroStars(self.spLoader,self.gridList[index].upHeroList[i].star,self.godDatas[index][i].star,1,Vector2.New(43.081,40.927))
|
||||
|
|
Loading…
Reference in New Issue