xiyou_yueNanZhengshi
parent
652b01b2d8
commit
254dbc5e92
|
|
@ -20913,8 +20913,8 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0}
|
m_AnchorMin: {x: 0.5, y: 0}
|
||||||
m_AnchorMax: {x: 0.5, y: 0}
|
m_AnchorMax: {x: 0.5, y: 0}
|
||||||
m_AnchoredPosition: {x: 0, y: -20}
|
m_AnchoredPosition: {x: 0, y: -34.52}
|
||||||
m_SizeDelta: {x: 100, y: 40}
|
m_SizeDelta: {x: 100, y: 69.05}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &4120350516855940403
|
--- !u!222 &4120350516855940403
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
|
|
|
||||||
|
|
@ -130,7 +130,7 @@ this.refreshShow = function()
|
||||||
local textParnet = Util.GetGameObject(go, "titileBg")
|
local textParnet = Util.GetGameObject(go, "titileBg")
|
||||||
local textName = Util.GetGameObject(textParnet, "Text"):GetComponent("Text")
|
local textName = Util.GetGameObject(textParnet, "Text"):GetComponent("Text")
|
||||||
textName.text =v.name
|
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
|
if GetCurLanguage() == 2 then
|
||||||
textName.fontSize = 36
|
textName.fontSize = 36
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -21,9 +21,11 @@ function AttriTips:OnDestroy()
|
||||||
Thread = nil
|
Thread = nil
|
||||||
proList = {}
|
proList = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
function AttriTips:OnOpen()
|
function AttriTips:OnOpen()
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
--关闭弹出信息
|
--关闭弹出信息
|
||||||
function AttriTips.CloseAttriTip()
|
function AttriTips.CloseAttriTip()
|
||||||
AttriTips:ClosePanel()
|
AttriTips:ClosePanel()
|
||||||
|
|
@ -53,7 +55,7 @@ function AttriTips.ShowAttriTip(_attriList,_type)
|
||||||
end
|
end
|
||||||
proList[i]:SetActive(false)
|
proList[i]:SetActive(false)
|
||||||
local proData = propertyConfig[data[1]]
|
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]
|
local str = data[2]
|
||||||
if proData.Style == 2 then
|
if proData.Style == 2 then
|
||||||
str = tostring(data[2] / 100) .. "%"
|
str = tostring(data[2] / 100) .. "%"
|
||||||
|
|
@ -78,6 +80,4 @@ function AttriTips.ShowAttriTip(_attriList,_type)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return AttriTips
|
return AttriTips
|
||||||
|
|
@ -70,7 +70,7 @@ end
|
||||||
--获取化身卡指定星级的技能描述
|
--获取化身卡指定星级的技能描述
|
||||||
function this.GetSkillDesStr(id, Star)
|
function this.GetSkillDesStr(id, Star)
|
||||||
local skillId = ChangingCard[id].Skill[Star + 1]
|
local skillId = ChangingCard[id].Skill[Star + 1]
|
||||||
local skillDes = PassiveSkillConfig[skillId].Desc
|
local skillDes = GetLanguageStrById(PassiveSkillConfig[skillId].Desc)
|
||||||
return skillDes
|
return skillDes
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -179,7 +179,7 @@ function RoleFlyUpLayout:UpdateHeroUpStarData()
|
||||||
if aaa then
|
if aaa then
|
||||||
--this.skillInfoGrid.text="激活飞升天赋:".." "..aaa.Desc
|
--this.skillInfoGrid.text="激活飞升天赋:".." "..aaa.Desc
|
||||||
--break
|
--break
|
||||||
str = str .. aaa.Desc
|
str = str .. GetLanguageStrById(aaa.Desc)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue