From 3c32b2aa4a27288547e7125c0ce55ad3505dacab Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Fri, 5 Mar 2021 15:14:22 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9C=AC=E5=9C=B0=E5=8C=96=E3=80=91?= =?UTF-8?q?=E6=88=91=E8=A6=81=E5=8F=98=E5=BC=BA=20=E7=81=B5=E5=85=BDlv?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/Effects/Model/Materials.meta | 8 ++++++++ .../~Lua/Modules/Pokemon/PokemonMainPanel.lua | 6 +++++- .../~Lua/Modules/Power/GiveMePowerPanel.lua | 4 ++-- 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 Assets/ManagedResources/Effects/Model/Materials.meta diff --git a/Assets/ManagedResources/Effects/Model/Materials.meta b/Assets/ManagedResources/Effects/Model/Materials.meta new file mode 100644 index 0000000000..85c619cb77 --- /dev/null +++ b/Assets/ManagedResources/Effects/Model/Materials.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 70e7feb15403e214f801e51b8b4e0461 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ManagedResources/~Lua/Modules/Pokemon/PokemonMainPanel.lua b/Assets/ManagedResources/~Lua/Modules/Pokemon/PokemonMainPanel.lua index 89e400832d..1670bb8c6d 100644 --- a/Assets/ManagedResources/~Lua/Modules/Pokemon/PokemonMainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Pokemon/PokemonMainPanel.lua @@ -169,7 +169,11 @@ function this.ShowSinglePokemonList(go,singleData,liveIndex) go.transform.parent.gameObject:SetActive(false) elseif state == 2 then lockInfo:SetActive(true) - Util.GetGameObject(go, "lockInfo/lockInfo/lvImage/Text"):GetComponent("Text").text = pokemonPosLocks[liveIndex]..Language[10056] + 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) diff --git a/Assets/ManagedResources/~Lua/Modules/Power/GiveMePowerPanel.lua b/Assets/ManagedResources/~Lua/Modules/Power/GiveMePowerPanel.lua index cf1b54fcb8..4732c66e34 100644 --- a/Assets/ManagedResources/~Lua/Modules/Power/GiveMePowerPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Power/GiveMePowerPanel.lua @@ -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)