文字显示不全问题修改
parent
4d980b27c4
commit
0894f36480
File diff suppressed because it is too large
Load Diff
|
|
@ -2486,7 +2486,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: -155, y: 4.6}
|
||||
m_AnchoredPosition: {x: -300, y: 4.6}
|
||||
m_SizeDelta: {x: 120, y: 28}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &6515230923304027739
|
||||
|
|
@ -2560,7 +2560,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 180}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 155, y: 4.6}
|
||||
m_AnchoredPosition: {x: 300, y: 4.6}
|
||||
m_SizeDelta: {x: 120, y: 28}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &8673342885889497901
|
||||
|
|
@ -4357,7 +4357,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: -155, y: 4.6}
|
||||
m_AnchoredPosition: {x: -300, y: 4.6}
|
||||
m_SizeDelta: {x: 120, y: 28}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &480940844451881702
|
||||
|
|
@ -4630,7 +4630,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 180}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 155, y: 4.6}
|
||||
m_AnchoredPosition: {x: 300, y: 4.6}
|
||||
m_SizeDelta: {x: 120, y: 28}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &1678466025503806888
|
||||
|
|
|
|||
|
|
@ -66,11 +66,11 @@ end
|
|||
--478A5F B9AC97 string.format("<color=#FF0000FF>%s/%s</color>",PrintWanNum2(curMaterialBagNum),PrintWanNum2(upStarMaterialsData[i][2]))
|
||||
function this.SingPokemonDataShow(go,data)
|
||||
local lvStr = Language[10539]..data.conFig.Level
|
||||
local starStr = Language[10241].. data.star ..Language[12058]
|
||||
local starStr = Language[10241].." ".. data.star .." "..Language[12058]
|
||||
local isCurStar = (data.star == pokemonStar)
|
||||
Util.GetGameObject(go, "lv"):GetComponent("Text").text = isCurStar and string.format("<color=#1CC853>%s</color>",lvStr..Language[12059]) or string.format("<color=#B9AC97>%s</color>",lvStr)
|
||||
Util.GetGameObject(go, "lv/need"):GetComponent("Text").text = isCurStar and string.format("<color=#1CC853>%s</color>",starStr) or string.format("<color=#B9AC97>%s</color>",starStr)
|
||||
Util.GetGameObject(go, "info"):GetComponent("Text").text = isCurStar and string.format("<color=#1CC853>%s</color>",GetLanguageStrById(data.conFig.Desc)) or string.format("<color=#B9AC97>%s</color>",GetLanguageStrById(data.conFig.Desc))
|
||||
Util.GetGameObject(go, "lv"):GetComponent("Text").text = isCurStar and string.format("<color=#376313>%s</color>",lvStr..Language[12059]) or string.format("<color=#B9AC97>%s</color>",lvStr)
|
||||
Util.GetGameObject(go, "lv/need"):GetComponent("Text").text = isCurStar and string.format("<color=#376313>%s</color>",starStr) or string.format("<color=#B9AC97>%s</color>",starStr)
|
||||
Util.GetGameObject(go, "info"):GetComponent("Text").text = isCurStar and string.format("<color=#376313>%s</color>",GetLanguageStrById(data.conFig.Desc)) or string.format("<color=#B9AC97>%s</color>",GetLanguageStrById(data.conFig.Desc))
|
||||
end
|
||||
|
||||
--界面关闭时调用(用于子类重写)
|
||||
|
|
|
|||
Loading…
Reference in New Issue