【本地化】英雄界面下方页签调整
parent
d7d64948af
commit
bec4de4ae2
|
|
@ -63688,8 +63688,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: 2.1, y: 2.1}
|
||||
m_SizeDelta: {x: 160, y: 86.6}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 149.52, y: 86.6}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &119062700276395137
|
||||
CanvasRenderer:
|
||||
|
|
@ -63744,9 +63744,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: "\u6750\u6599"
|
||||
LanguageIndex: 10142
|
||||
--- !u!1 &1484616364751171037
|
||||
|
|
@ -85340,8 +85340,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: 2.1, y: 2.1}
|
||||
m_SizeDelta: {x: 160, y: 86.6}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 151.35, y: 86.6}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &4101804890208213420
|
||||
CanvasRenderer:
|
||||
|
|
@ -85396,9 +85396,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: "\u6750\u6599"
|
||||
LanguageIndex: 10142
|
||||
--- !u!1 &7069187913524227865
|
||||
|
|
|
|||
|
|
@ -397,7 +397,7 @@ function this:UpdateBtnList()
|
|||
end
|
||||
local title = Util.GetGameObject(tabsList[k], "Text"):GetComponent("Text")
|
||||
local redpot = Util.GetGameObject(tabsList[k], "redPoint")
|
||||
title.text = v.title
|
||||
title.text = GetCurLanguage() == 0 and v.title or "<size=45>"..v.title.."</size>"
|
||||
-- 判断是否需要检测红点
|
||||
redpot:SetActive(false)
|
||||
if k == 1 then
|
||||
|
|
@ -462,7 +462,7 @@ function this:SetSelectBtn(index)
|
|||
this.selectBtn.transform:SetParent(tabsList[index].transform)
|
||||
this.selectBtn.transform.localScale = Vector3.one
|
||||
this.selectBtn.transform.localPosition=Vector3.zero
|
||||
Util.GetGameObject(this.selectBtn.transform, "Text"):GetComponent("Text").text = tabs[index].title
|
||||
Util.GetGameObject(this.selectBtn.transform, "Text"):GetComponent("Text").text = GetCurLanguage() == 0 and tabs[index].title or "<size=45>"..tabs[index].title.."</size>"--tabs[index].title--
|
||||
Util.GetGameObject(self.transform,"talentBtn/tipStr"):SetActive(false)
|
||||
if index == 2 then
|
||||
Util.GetGameObject(self.transform,"talentBtn/tipStr"):SetActive(true)
|
||||
|
|
|
|||
Loading…
Reference in New Issue