This is driving me crazy, why wont unity let me do the simplest things. Ok so I have a ttf and import it into unity then create it as a 3d text and all is good. Now I want to the text to fade out(yes I’ve seen the script on wiki). So I implement it like so :
var t = 0.0;
while(t < 1.0){
t += Time.deltaTime * 0.1;
renderer.material.color.a = Mathf.Lerp(1.0, 0.0, t);
}
I try this and once I activate the fade it disappears. I figure maybe its because the GUI/Text shader doesn’t support transparency but the font attributes are all unchangeable so I cant try anything else. So I try to make my own font and just apply the texture to and material to it but cant find a shader that displays it correctly. Any ideas?