【坐骑】界面文字适应修改

dev_chengFeng
ZhangBiao 2021-04-08 18:01:29 +08:00
parent 3ccf1e6c44
commit 4977de55ba
2 changed files with 6 additions and 6 deletions

View File

@ -4921,8 +4921,8 @@ 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: 0, y: -1.2}
m_SizeDelta: {x: 160, y: 30}
m_AnchoredPosition: {x: -0, y: 0.83}
m_SizeDelta: {x: 142.76, y: 34.06}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2302017344002181125
CanvasRenderer:
@ -4956,14 +4956,14 @@ MonoBehaviour:
m_Font: {fileID: 12800000, guid: 6fa15837529b0e640af6620b07d3207d, type: 3}
m_FontSize: 30
m_FontStyle: 0
m_BestFit: 0
m_BestFit: 1
m_MinSize: 3
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 1
m_VerticalOverflow: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u6682\u672A\u89E3\u9501"
LanguageIndex: 0

View File

@ -18,7 +18,7 @@ function SettingPlayerRide:InitComponent(gameObject)
this.live2dRootParent = Util.GetGameObject(gameObject, "live2dRootParent")
this.live2dRootParent2 = Util.GetGameObject(gameObject, "live2dRootParent2")
this.name = Util.GetGameObject(gameObject, "name/Text"):GetComponent("Text")
SetTextVerTial(this.name,Vector3.New(120,0,0),nil,nil,5)
SetTextVerTial(this.name,Vector3.New(120,10,0),nil,nil,5)
Util.GetGameObject(gameObject, "skinProInfo/getInfoImage/Text"):GetComponent("Text").text = Language[11829]
this.getInfo = Util.GetGameObject(gameObject, "skinProInfo/getInfo"):GetComponent("Text")
Util.GetGameObject(gameObject, "skinProInfo/proImage/Text"):GetComponent("Text").text = Language[11965]