灵兽技能提示上传

xiyou_sanguo
PC-202302260912\Administrator 2025-11-19 14:22:35 +08:00
parent d62bde08af
commit 7fb4b257ff
1 changed files with 3 additions and 3 deletions

View File

@ -68,9 +68,9 @@ function this.SingPokemonDataShow(go,data)
local lvStr = Language[10539]..data.conFig.Level
local starStr = Language[10241].." ".. data.star .." "..Language[12058]
local isCurStar = (data.star == pokemonStar)
Util.GetGameObject(go, "lv"):GetComponent("Text").text = isCurStar and string.format("<color=#376313>%s</color>",lvStr..Language[12059]) or string.format("<color=#B9AC97>%s</color>",lvStr)
Util.GetGameObject(go, "lv/need"):GetComponent("Text").text = isCurStar and string.format("<color=#376313>%s</color>",starStr) or string.format("<color=#B9AC97>%s</color>",starStr)
Util.GetGameObject(go, "info"):GetComponent("Text").text = isCurStar and string.format("<color=#376313>%s</color>",GetLanguageStrById(data.conFig.Desc)) or string.format("<color=#B9AC97>%s</color>",GetLanguageStrById(data.conFig.Desc))
Util.GetGameObject(go, "lv"):GetComponent("Text").text = isCurStar and string.format("<color=#FDECC6>%s</color>",lvStr..Language[12059]) or string.format("<color=#74726D>%s</color>",lvStr)
Util.GetGameObject(go, "lv/need"):GetComponent("Text").text = isCurStar and string.format("<color=#FDECC6>%s</color>",starStr) or string.format("<color=#74726D>%s</color>",starStr)
Util.GetGameObject(go, "info"):GetComponent("Text").text = isCurStar and string.format("<color=#FDECC6>%s</color>",GetLanguageStrById(data.conFig.Desc)) or string.format("<color=#74726D>%s</color>",GetLanguageStrById(data.conFig.Desc))
end
--界面关闭时调用(用于子类重写)