【灵兽】灵兽上阵主界面名字颜色变化

dev_chengFeng
zhangqiang 2020-11-12 16:56:40 +08:00
parent b1128dd88e
commit b1eba4887a
1 changed files with 2 additions and 1 deletions

View File

@ -188,7 +188,8 @@ function this.ShowSinglePokemonList(go,singleData,liveIndex)
-- LogPink("liveIndex "..liveIndex.." upLvRed "..tostring(upLvRed).." upStarRed "..tostring(upStarRed))
PokemonGoListRedPoin[liveIndex]:SetActive(upLvRed or upStarRed)
upZhenInfo:SetActive(true)
Util.GetGameObject(go, "upZhenInfo/titleImage/nameText"):GetComponent("Text").text = ConfigManager.GetConfigData(ConfigName.SpiritAnimal,curData.id).Name
local spiritAnimalConfig = ConfigManager.GetConfigData(ConfigName.SpiritAnimal,curData.id)
Util.GetGameObject(go, "upZhenInfo/titleImage/nameText"):GetComponent("Text").text = GetStringByEquipQua(spiritAnimalConfig.Quality, spiritAnimalConfig.Name)
Util.GetGameObject(go, "upZhenInfo/lvImage/Text"):GetComponent("Text").text = curData.lv..""
local curPokemonLive = Util.GetGameObject(go, "upZhenInfo/pokemonLive")
for key, value in pairs(live2dList) do