Exemplo n.º 1
0
 private void SetTextColor(PlatformDATA data, Color color)
 {
     platformContainer.GetChild((int)data).GetChild(1).GetComponent <TextMeshProUGUI> ().color = color;
 }
Exemplo n.º 2
0
 private void SetText(PlatformDATA data, string info)
 {
     platformContainer.GetChild((int)data).GetChild(1).GetComponent <TextMeshProUGUI> ().text      = info;
     platformContainer.GetChild((int)data).GetChild(1).GetComponent <TextMeshProUGUI> ().color     = Color.white;
     platformContainer.GetChild((int)data).GetChild(1).GetComponent <TextMeshProUGUI> ().fontStyle = FontStyles.Normal;
 }