xiyou_yueNanZhengshi
zhangjiannan 2024-10-29 20:58:02 +08:00
parent 652b01b2d8
commit 254dbc5e92
5 changed files with 16 additions and 16 deletions

View File

@ -20913,8 +20913,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: -20}
m_SizeDelta: {x: 100, y: 40}
m_AnchoredPosition: {x: 0, y: -34.52}
m_SizeDelta: {x: 100, y: 69.05}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4120350516855940403
CanvasRenderer:

View File

@ -130,7 +130,7 @@ this.refreshShow = function()
local textParnet = Util.GetGameObject(go, "titileBg")
local textName = Util.GetGameObject(textParnet, "Text"):GetComponent("Text")
textName.text =v.name
SetTextVerTial(Util.GetGameObject(textParnet, "Text"),Vector3.New(295.93,-10.17,0),"MiddleRight")
--SetTextVerTial(Util.GetGameObject(textParnet, "Text"),Vector3.New(295.93,-10.17,0),"MiddleRight")
if GetCurLanguage() == 2 then
textName.fontSize = 36
end

View File

@ -21,9 +21,11 @@ function AttriTips:OnDestroy()
Thread = nil
proList = {}
end
function AttriTips:OnOpen()
end
--关闭弹出信息
function AttriTips.CloseAttriTip()
AttriTips:ClosePanel()
@ -53,7 +55,7 @@ function AttriTips.ShowAttriTip(_attriList,_type)
end
proList[i]:SetActive(false)
local proData = propertyConfig[data[1]]
Util.GetGameObject(proList[i],"name"):GetComponent("Text").text = proData.Info
Util.GetGameObject(proList[i], "name"):GetComponent("Text").text = GetLanguageStrById(proData.Info)
local str = data[2]
if proData.Style == 2 then
str = tostring(data[2] / 100) .. "%"
@ -78,6 +80,4 @@ function AttriTips.ShowAttriTip(_attriList,_type)
end)
end
return AttriTips

View File

@ -70,7 +70,7 @@ end
--获取化身卡指定星级的技能描述
function this.GetSkillDesStr(id, Star)
local skillId = ChangingCard[id].Skill[Star + 1]
local skillDes = PassiveSkillConfig[skillId].Desc
local skillDes = GetLanguageStrById(PassiveSkillConfig[skillId].Desc)
return skillDes
end

View File

@ -179,7 +179,7 @@ function RoleFlyUpLayout:UpdateHeroUpStarData()
if aaa then
--this.skillInfoGrid.text="激活飞升天赋:".." "..aaa.Desc
--break
str = str .. aaa.Desc
str = str .. GetLanguageStrById(aaa.Desc)
end
end
end