Cant change color of 3dText/Text Mesh

I seem to have problems changing the color of 3dtext objects.

The color property is grayed out.

Any idea on what im doing wrong?

/tax

Meanwhile in Copenhagen....

I made a C# script with the following code:

using UnityEngine;
using System.Collections;

public class TextColor : MonoBehaviour {
    public Color color;
    void Awake() 
    {
        transform.GetComponent<MeshRenderer>().material.SetColor("_Color", color);
    }
}

In this way I can drag it on to the 3dtext object and set its color. Remember to set the alpha color if it goes all transparent on you.

/tax

You need to create a new material, drag in the texture for the font you're using and choose your wanted shader, then you can modify the colour

Add that to the Text Mesh and it should hopefully work

Just put the alpha to 1

var miColor : Color;

function Start()

{

   renderer.material.color = miColor;

   //Para que se vea el texto

   renderer.material.color.a = 1;

}