神兽列表“已出战”文本颜色修改

DESKTOP-MMO982B\User 2024-06-23 19:13:35 +08:00
parent 70e4e1cb8c
commit f23967e39b
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ function this.SingPokemonDataShow(_go,_itemData)
Util.GetGameObject(_go.transform,"icon"):GetComponent("Image").sprite=this.spLoader:LoadSprite(GetResourcePath(spiritAnimal[_itemData.id].Icon))
Util.GetGameObject(_go.transform,"name"):GetComponent("Text").text=GetLanguageStrById(itemConfig[_itemData.id].Name)
Util.GetGameObject(_go.transform,"lv/Text"):GetComponent("Text").text=_itemData.lv
Util.GetGameObject(_go.transform,"pokemonStateText"):GetComponent("Text").text = AllPokemonFormationDids[_itemData.dynamicId] and string.format("<color=#00FF06>%s</color>",Language[11450]) or string.format("<color=#FF0000>%s</color>",Language[11451])
Util.GetGameObject(_go.transform,"pokemonStateText"):GetComponent("Text").text = AllPokemonFormationDids[_itemData.dynamicId] and string.format("<color=#2E5522>%s</color>",Language[11450]) or string.format("<color=#FF0000>%s</color>",Language[11451])
local starSize = Vector2.New(50,50)
local grid=Util.GetGameObject(_go.transform, "star/starGrid")
local star=_itemData.star