Can I make a 3d object fade out slowly? As in opacity decreasing gradually until it disappears
Give the object’s material a shader that supports transparency. Then, you can vary the transparency from a script by setting the alpha value of the material’s colour:-
renderer.material.color.a = currentFadeValue;
To actually manage the fading over time, you might want to check out Eric5h5’s Fade script on the Unify wiki.
amazing!! thanks! ![]()