Color textColor; if(m_ColorIndex == 1) { textColor = Color.FromRGBA(255,207,127,255); m_ColorIndex = 2; } else { textColor = Color.FromRGBA(255,147,61,255); m_ColorIndex = 1; } wPlayername.SetColor(textColor); //Text widget wPlayername.SetText(pName);
The font color is always the same and none of the decalred