【本地化】我要变强 灵兽lv修改
parent
eaac0b6cd1
commit
3c32b2aa4a
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 70e7feb15403e214f801e51b8b4e0461
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -169,7 +169,11 @@ function this.ShowSinglePokemonList(go,singleData,liveIndex)
|
|||
go.transform.parent.gameObject:SetActive(false)
|
||||
elseif state == 2 then
|
||||
lockInfo:SetActive(true)
|
||||
if GetCurLanguage() == 0 then
|
||||
Util.GetGameObject(go, "lockInfo/lockInfo/lvImage/Text"):GetComponent("Text").text = pokemonPosLocks[liveIndex]..Language[10056]
|
||||
else
|
||||
Util.GetGameObject(go, "lockInfo/lockInfo/lvImage/Text"):GetComponent("Text").text = Language[10056]..pokemonPosLocks[liveIndex]
|
||||
end
|
||||
Util.AddOnceClick( Util.GetGameObject(go, "lockInfo/lockInfo/lockClick"), function()
|
||||
PopupTipPanel.ShowTip(pokemonPosLocks[liveIndex]..Language[10056])
|
||||
end)
|
||||
|
|
|
@ -474,9 +474,9 @@ function this.ShowRmdPanel(index)
|
|||
local childBox = Util.GetGameObject(node, "childbox")
|
||||
local childName = Util.GetGameObject(childBox, "name"):GetComponent("Text")
|
||||
local childContent = Util.GetGameObject(childBox, "content"):GetComponent("Text")
|
||||
title.text = GetLanguageStrById(data.DescFirst)
|
||||
title.text = ""--GetLanguageStrById(data.DescFirst)
|
||||
local strList = string.split(GetLanguageStrById(data.DescSecond), "#")
|
||||
childName.text = " "..strList[1] -- 空格用于调整文字的起始位置
|
||||
childName.text = GetLanguageStrById(data.DescFirst).." "..strList[1]--" "..strList[1] -- 空格用于调整文字的起始位置
|
||||
childContent.text = " "..strList[2] -- 全角空格可以避免自动换行
|
||||
for index, heroId in ipairs(data.ItemId) do
|
||||
local heroData = ConfigManager.GetConfigData(ConfigName.HeroConfig, heroId)
|
||||
|
|
Loading…
Reference in New Issue