许愿神将修改提交
parent
4c1b1dbc30
commit
a4cbd77a99
|
@ -127,16 +127,13 @@ function this.SingleHeroDataShow(go,_heroData,_index)
|
||||||
icon.sprite = this.spLoader:LoadSprite(artResourcesConfig[heroData.Icon].Name)
|
icon.sprite = this.spLoader:LoadSprite(artResourcesConfig[heroData.Icon].Name)
|
||||||
proIcon.sprite = this.spLoader:LoadSprite(GetProStrImageByProNum(heroData.PropertyName))
|
proIcon.sprite = this.spLoader:LoadSprite(GetProStrImageByProNum(heroData.PropertyName))
|
||||||
SetHeroStars(this.spLoader, starGrid, heroData.Star,1,nil,-15)
|
SetHeroStars(this.spLoader, starGrid, heroData.Star,1,nil,-15)
|
||||||
|
frame.sprite = this.spLoader:LoadSprite("t_tongyong_topkaung")
|
||||||
else
|
else
|
||||||
name.text = SubString2(GetLanguageStrById(heroData.Name),8)
|
name.text = SubString2(GetLanguageStrById(heroData.Name),8)
|
||||||
icon.sprite = this.spLoader:LoadSprite(artResourcesConfig[heroData.ResourceID].Name)
|
icon.sprite = this.spLoader:LoadSprite(artResourcesConfig[heroData.ResourceID].Name)
|
||||||
proIcon.gameObject:SetActive(false)
|
proIcon.gameObject:SetActive(false)
|
||||||
starGrid:SetActive(false)
|
starGrid:SetActive(false)
|
||||||
end
|
frame.sprite = this.spLoader:LoadSprite(GetHeroQuantityImageByquality(heroData.Quantity,heroData.Star))
|
||||||
if curPage ~= 5 then
|
|
||||||
frame.sprite = this.spLoader:LoadSprite(GetHeroQuantityImageByquality(heroData.Quality,heroData.Star))
|
|
||||||
else
|
|
||||||
frame.sprite = this.spLoader:LoadSprite("t_tongyong_topkaung")
|
|
||||||
end
|
end
|
||||||
this.choosedList[go] = choosed
|
this.choosedList[go] = choosed
|
||||||
this.choosedList[go]:SetActive( heroData.Id==currHeroId)
|
this.choosedList[go]:SetActive( heroData.Id==currHeroId)
|
||||||
|
|
Loading…
Reference in New Issue