parent
1d2bba009c
commit
490093fe8d
|
|
@ -475,9 +475,10 @@ function this.ShowRmdPanel(index)
|
|||
local childName = Util.GetGameObject(childBox, "name"):GetComponent("Text")
|
||||
local childContent = Util.GetGameObject(childBox, "content"):GetComponent("Text")
|
||||
title.text = GetLanguageStrById(data.DescFirst)
|
||||
local strList = string.split(GetLanguageStrById(data.DescSecond), "#")
|
||||
childName.text = Language[12429].."\n "..strList[1]--" "..strList[1] -- 空格用于调整文字的起始位置
|
||||
childContent.text = "\n "..strList[2] -- 全角空格可以避免自动换行
|
||||
local strList = string.split(data.DescSecond, "#")
|
||||
childName.text = Language[12429].."\n "..GetLanguageStrById(strList[1])--" "..strList[1] -- 空格用于调整文字的起始位置
|
||||
childContent.text = "\n "..GetLanguageStrById(strList[2]) -- 全角空格可以避免自动换行
|
||||
LogError("tttttt:"..data.Id)
|
||||
for index, heroId in ipairs(data.ItemId) do
|
||||
local heroData = ConfigManager.GetConfigData(ConfigName.HeroConfig, heroId)
|
||||
local node = heroBox.transform:GetChild(index - 1).gameObject
|
||||
|
|
|
|||
Loading…
Reference in New Issue