【主角修为】问号文字调整
parent
afaf672de4
commit
984bb12611
|
@ -1688,7 +1688,7 @@ MonoBehaviour:
|
||||||
m_ChildAlignment: 4
|
m_ChildAlignment: 4
|
||||||
m_StartCorner: 0
|
m_StartCorner: 0
|
||||||
m_StartAxis: 0
|
m_StartAxis: 0
|
||||||
m_CellSize: {x: 250, y: 40}
|
m_CellSize: {x: 260, y: 40}
|
||||||
m_Spacing: {x: 0, y: 0}
|
m_Spacing: {x: 0, y: 0}
|
||||||
m_Constraint: 0
|
m_Constraint: 0
|
||||||
m_ConstraintCount: 2
|
m_ConstraintCount: 2
|
||||||
|
@ -2139,7 +2139,7 @@ MonoBehaviour:
|
||||||
m_ChildAlignment: 4
|
m_ChildAlignment: 4
|
||||||
m_StartCorner: 0
|
m_StartCorner: 0
|
||||||
m_StartAxis: 0
|
m_StartAxis: 0
|
||||||
m_CellSize: {x: 250, y: 40}
|
m_CellSize: {x: 260, y: 40}
|
||||||
m_Spacing: {x: 0, y: 0}
|
m_Spacing: {x: 0, y: 0}
|
||||||
m_Constraint: 0
|
m_Constraint: 0
|
||||||
m_ConstraintCount: 2
|
m_ConstraintCount: 2
|
||||||
|
|
|
@ -13,7 +13,7 @@ function this:InitComponent(gameObject)
|
||||||
local rootHight = self.scrollItem.transform.rect.height
|
local rootHight = self.scrollItem.transform.rect.height
|
||||||
local width = self.scrollItem.transform.rect.width
|
local width = self.scrollItem.transform.rect.width
|
||||||
self.ScrollView = SubUIManager.Open(SubUIConfig.ScrollCycleView, self.scrollItem.transform,
|
self.ScrollView = SubUIManager.Open(SubUIConfig.ScrollCycleView, self.scrollItem.transform,
|
||||||
self.itemPre, nil, Vector2.New(width, rootHight), 1, 1, Vector2.New(0, 0))
|
self.itemPre, nil, Vector2.New(width, rootHight), 1, 1, Vector2.New(0, 20))
|
||||||
self.ScrollView.moveTween.MomentumAmount = 1
|
self.ScrollView.moveTween.MomentumAmount = 1
|
||||||
self.ScrollView.moveTween.Strength = 2
|
self.ScrollView.moveTween.Strength = 2
|
||||||
self.ScrollView.elastic = false
|
self.ScrollView.elastic = false
|
||||||
|
@ -62,8 +62,8 @@ function this:SingleDataShow(_go,_data,_index)
|
||||||
Util.GetGameObject(_go,"Title/Text"):GetComponent("Text").text = string.format("%s期",_data.RealmName)
|
Util.GetGameObject(_go,"Title/Text"):GetComponent("Text").text = string.format("%s期",_data.RealmName)
|
||||||
local color = PracticeManager.PracticeBigLevel == _data.RealmId and "00ff00" or "AEBEB6"
|
local color = PracticeManager.PracticeBigLevel == _data.RealmId and "00ff00" or "AEBEB6"
|
||||||
for i = 1, 4 do
|
for i = 1, 4 do
|
||||||
Util.GetGameObject(_go,"baseAttri/TextPre ("..i..")"):GetComponent("Text").text = string.format("<color=#%s>基础%s%s</color>",color,propertyConfig[_data.ProRank[i][1]].Info,_data.ProRank[i][2])
|
Util.GetGameObject(_go,"baseAttri/TextPre ("..i..")"):GetComponent("Text").text = string.format("<color=#%s>基础%s %s</color>",color,propertyConfig[_data.ProRank[i][1]].Info,_data.ProRank[i][2])
|
||||||
Util.GetGameObject(_go,"proAttri/TextPre ("..i..")"):GetComponent("Text").text = string.format("<color=#%s>每级%s%s</color>",color,propertyConfig[_data.ProLevel[i][1]].Info,_data.ProLevel[i][2])
|
Util.GetGameObject(_go,"proAttri/TextPre ("..i..")"):GetComponent("Text").text = string.format("<color=#%s>每级%s %s</color>",color,propertyConfig[_data.ProLevel[i][1]].Info,_data.ProLevel[i][2])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue