- Home /
fade out effect when object disappear
i want fade out effect when my player respwan he directly disappear
for the respwan i using thisa script
var spwanpoint : transform;
function respawn () { transform.position = spawnpoint.position; }
Answer by RCIX · Mar 28, 2010 at 09:30 PM
Perhaps http://answers.unity3d.com/questions/5799/fading-an-object-via-script can help?
but im not using update fuction i don't know how complie this both script
Well, you have to have an Update function, because it fades a little each frame.
@elbon96: You don't need Update; you can use routines like this: http://www.unifycommunity.com/wiki/index.php?title=Fade I'm not clear on what's being faded in this case though.
@Eric5h5 I wasn't aware of that. However, I bow to your superior knowledge, as I've only been doing Unity for a couple of weeks. Thanks, I'll use that... :)
@Eric5h5 I believe he is referring to a case death, where he wants the dead character to fade out, not just disappear.
Your answer
Follow this Question
Related Questions
How to create a fade out respawn from falling? 1 Answer
Fade on death! 1 Answer
Random Spawning Question 2 Answers
Trying to make a checkpoint script 3 Answers