备战界面星级显示修改

dev_chengFeng
wangzhenxing 2022-12-22 14:21:59 +08:00
parent b836038a31
commit 7a66818c2e
1 changed files with 5 additions and 1 deletions

View File

@ -870,7 +870,7 @@ function this.SingleHeroDataShow(_go, _heroData)
teamList[index-2000]:SetActive(true)
end
end
--LogError("heroData.heroConfig.Id=="..heroData.heroConfig.Id)
LogError("heroData.heroConfig.Id=="..heroData.heroConfig.Id)
star=endLess[heroData.heroConfig.Id].Star
if star>11 then
starSize = Vector3.New(1,-15.6)
@ -880,6 +880,10 @@ function this.SingleHeroDataShow(_go, _heroData)
level=endLess[heroData.heroConfig.Id].Level
end
if star>11 then
starSize = Vector3.New(1,-15.6)
starScale = -13
end
frame.sprite=this.spLoader:LoadSprite(GetHeroQuantityImageByquality(heroData.heroConfig.Quality,star))
if HarmonyManager.IsChangeColor(heroData.dynamicId) then
-- body