【本地化】排行榜修改

dev_chengFeng
ZhangBiao 2021-02-23 20:13:59 +08:00
parent 1c77912e61
commit 82db5c4b57
3 changed files with 10 additions and 9 deletions

View File

@ -111,8 +111,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.00000095367, y: 0.000011504}
m_SizeDelta: {x: 160, y: 30}
m_AnchoredPosition: {x: -0.5, y: 0.000011504}
m_SizeDelta: {x: 200, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2862305388014232200
CanvasRenderer:
@ -152,9 +152,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: "\u819C \u62DC"
LanguageIndex: 0
--- !u!1 &696489613239290512
@ -989,7 +989,7 @@ MonoBehaviour:
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 1
m_LineSpacing: 0.8
m_LineSpacing: 0.7
m_Text: "\u672C\u670D\u6392\u884C"
LanguageIndex: 0
--- !u!1 &2776619784279614307
@ -1808,7 +1808,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0.00001513958, y: 0.000014530653}
m_AnchoredPosition: {x: 0.00001513958, y: -0.0000075461803}
m_SizeDelta: {x: 1003, y: 0}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &4770267391901505225

View File

@ -5092,7 +5092,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: -336.9, y: -628.4}
m_AnchoredPosition: {x: -268, y: -628.4}
m_SizeDelta: {x: 187.13, y: 60.16}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7166038892101886920
@ -5624,7 +5624,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: -153.51, y: -629}
m_AnchoredPosition: {x: -84.61, y: -629}
m_SizeDelta: {x: 179.64, y: 47.44}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7359409015438545450

View File

@ -54,7 +54,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=40>".._TabData[index].name.."</size>"
tabLab:GetComponent("Text").color = _TabFontColor[status]
Util.GetGameObject(tab, "LockImage"):SetActive(status == "lock" )
end-- tab可用性检测
@ -122,6 +122,7 @@ function this.SingleRankKingListShow(index)
Util.AddOnceClick(clickBtn, function()
UIManager.OpenPanel(UIName.RankingSingleListPanel,sData)
end)
getRewardBtnText.fontSize = GetCurLanguage() ~= 2 and 50 or 40--根据语言设置大小
if proud == 0 then--没有膜拜过
getRewardBtn:GetComponent("Button").enabled = true
Util.GetGameObject(go,"getRewardBtn/redPoint"):SetActive(true)