tcx_xiyou_yueNan
PC-202302260912\Administrator 2025-01-06 18:42:46 +08:00
parent cbe9190723
commit 4d980b27c4
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ function this.OnShowSingleCardData(go, heroData, index, isUp) --isSelect 1选择
Util.GetGameObject(lvGo.transform, "Text"):GetComponent("Text").text = heroData.lv Util.GetGameObject(lvGo.transform, "Text"):GetComponent("Text").text = heroData.lv
icon.sprite = this.spLoader:LoadSprite(heroData.icon) icon.sprite = this.spLoader:LoadSprite(heroData.icon)
proIcon:GetComponent("Image").sprite = this.spLoader:LoadSprite(GetProStrImageByProNum(heroData.changeProId)) proIcon:GetComponent("Image").sprite = this.spLoader:LoadSprite(GetProStrImageByProNum(heroData.changeProId))
name.text = SubString2(GetLanguageStrById(heroData.heroConfig.ReadingName), 8) name.text = GetLanguageStrById(heroData.heroConfig.ReadingName)
local star, starType = heroData.GetStar(1) local star, starType = heroData.GetStar(1)
SetHeroStars(this.spLoader, starGrid, star, starType, nil, nil, Vector2.New(0, 1)) SetHeroStars(this.spLoader, starGrid, star, starType, nil, nil, Vector2.New(0, 1))
LogError("hero star==" .. star) LogError("hero star==" .. star)