【本地化】界面挑战
parent
64e2464cf9
commit
5d1b8bf9b9
|
@ -3125,7 +3125,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: 0.1, y: -1.5999999}
|
||||
m_AnchoredPosition: {x: 0.1, y: 0}
|
||||
m_SizeDelta: {x: 160, y: 30}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2297189032180912063
|
||||
|
@ -3166,9 +3166,9 @@ MonoBehaviour:
|
|||
m_Alignment: 4
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 1
|
||||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 1
|
||||
m_LineSpacing: 1
|
||||
m_LineSpacing: 0.7
|
||||
m_Text: "\u5FEB\u901F\u9009\u62E9"
|
||||
LanguageIndex: 11513
|
||||
--- !u!1 &1878274214743752673
|
||||
|
@ -4504,7 +4504,7 @@ RectTransform:
|
|||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
|
@ -4784,9 +4784,9 @@ MonoBehaviour:
|
|||
m_Alignment: 4
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 1
|
||||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_LineSpacing: 0.7
|
||||
m_Text: "\u606D\u9001\u795E\u5C06"
|
||||
LanguageIndex: 10073
|
||||
--- !u!1 &3559867998080898228
|
||||
|
@ -6642,7 +6642,7 @@ RectTransform:
|
|||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
|
@ -7198,10 +7198,10 @@ RectTransform:
|
|||
m_Father: {fileID: 235641477404672219}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 281.05, y: -63.65}
|
||||
m_SizeDelta: {x: 190, y: 58}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &5004630570938477890
|
||||
CanvasRenderer:
|
||||
|
@ -9853,7 +9853,7 @@ GameObject:
|
|||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!224 &5709844313583256937
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -9944,7 +9944,7 @@ GameObject:
|
|||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!224 &1508773176926603313
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -13516,7 +13516,7 @@ RectTransform:
|
|||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
|
@ -13647,7 +13647,7 @@ GameObject:
|
|||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!224 &5008217291552125824
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -15840,7 +15840,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: 0.000017166138, y: -65.7}
|
||||
m_AnchoredPosition: {x: 0.000017166138, y: -87}
|
||||
m_SizeDelta: {x: 365.7, y: 38}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &8953178062714257583
|
||||
|
|
|
@ -211,7 +211,7 @@ function this.TabAdapter(tab, index, status)
|
|||
local tabImage = Util.GetGameObject(tab,"Image")
|
||||
tabImage:GetComponent("Image").sprite = Util.LoadSprite(_TabData[index][status])
|
||||
-- tabImage:GetComponent("Image"):SetNativeSize()
|
||||
tabLab:GetComponent("Text").text = _TabData[index].name
|
||||
tabLab:GetComponent("Text").text = GetCurLanguage() ~= 2 and _TabData[index].name or "<size=40>".._TabData[index].name.."</size>"
|
||||
tabLab:GetComponent("Text").color = _TabFontColor[status]
|
||||
-- tabImage.transform.localPosition = Vector3.New( tabImage.transform.localPosition.x, _TabImagePos[status], 0);
|
||||
end
|
||||
|
|
|
@ -215,7 +215,7 @@ end
|
|||
function this.TabAdapter(tab, index, status)
|
||||
local tabLab = Util.GetGameObject(tab, "Text")
|
||||
Util.GetGameObject(tab,"Image"):GetComponent("Image").sprite = Util.LoadSprite(_TabData[index][status])
|
||||
tabLab:GetComponent("Text").text = _TabData[index].name
|
||||
tabLab:GetComponent("Text").text = GetCurLanguage() ~= 2 and _TabData[index].name or "<size=30>".._TabData[index].name.."</size>"
|
||||
tabLab:GetComponent("Text").color = _TabFontColor[status]
|
||||
this.SetBottomBarIsActive(tab, index)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue