Fade an object in and out ?

Right now I have some objects where I want them to constantly be fading in and out of the scene. Is there a way to adjust the alpha of an object or does it only work for the textures alpha ?

renderer.material.color.a (In JS anyway; for C# you have to assign the whole color including alpha.)