排行榜字体颜色修改
This commit is contained in:
parent
fc81d191f3
commit
26e6845a5d
@ -380,10 +380,10 @@ MonoBehaviour:
|
|||||||
m_faceColor:
|
m_faceColor:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
rgba: 4294967295
|
rgba: 4294967295
|
||||||
m_fontSize: 36
|
m_fontSize: 65.1
|
||||||
m_fontSizeBase: 36
|
m_fontSizeBase: 36
|
||||||
m_fontWeight: 400
|
m_fontWeight: 400
|
||||||
m_enableAutoSizing: 0
|
m_enableAutoSizing: 1
|
||||||
m_fontSizeMin: 18
|
m_fontSizeMin: 18
|
||||||
m_fontSizeMax: 72
|
m_fontSizeMax: 72
|
||||||
m_fontStyle: 0
|
m_fontStyle: 0
|
||||||
|
@ -25,14 +25,20 @@ public class ListItem : MonoBehaviour
|
|||||||
if (list == 1)
|
if (list == 1)
|
||||||
{
|
{
|
||||||
listImage.sprite = Resources.Load<Sprite>("bgYello");
|
listImage.sprite = Resources.Load<Sprite>("bgYello");
|
||||||
|
|
||||||
|
nameText.color = new UnityEngine.Color(246/255f, 194/255f, 146 / 255f);
|
||||||
}
|
}
|
||||||
else if (list == 2)
|
else if (list == 2)
|
||||||
{
|
{
|
||||||
listImage.sprite = Resources.Load<Sprite>("bgGreen");
|
listImage.sprite = Resources.Load<Sprite>("bgGreen");
|
||||||
|
|
||||||
|
nameText.color = new UnityEngine.Color(201 / 255f, 208/255f, 144 / 255f);
|
||||||
}
|
}
|
||||||
else if (list == 3)
|
else if (list == 3)
|
||||||
{
|
{
|
||||||
listImage.sprite = Resources.Load<Sprite>("bgBlue");
|
listImage.sprite = Resources.Load<Sprite>("bgBlue");
|
||||||
|
|
||||||
|
nameText.color = new UnityEngine.Color(144/255f, 206 / 255f, 208/255f);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user