Hi, i have this code
public IEnumerator SinDinero(Text Dinero)
{
Dinero.color = new Color(255, 0, 0);
yield return new WaitForSeconds(2);
Dinero.color = new Color(246, 242, 13);
//TODO Tiempo de espera
}
As expected the text color change to red but after the 2 seconds it changes the text color to white insted of yellow. any ideas?