Adjusting white texture with Color.

Hi all.

Im trying to load in a Texture2D that is simply a white 256x256 square.

My goal is to adjust this color by using the Color function in the script.

In XNA this was very easy as when I displayed a picture I had a color variable I passed in. Is there anything similar? I saw the 4 parameters for GUI
but anytime I adjust its color I dont see anything change.

I believe this will do what you need:

renderer.material.color = Color.Red;

If you want to set RGB values manually, do this:

renderer.material.color = Color(red/255.0, green/255.0, blue/255.0, 1);

Where red, green, and blue are variables holding the respective RGB values.