hi everybody.
I have 2 questions.
1_I want invisible my enemy slowly.
2_my screen become black slowly and after 2 seconds my screen changes to another screens slowly too.
which code I should use?
thanks
plz help me ![]()
To make an enemy go invisible slowly, try using the Transparent/Diffuse shader for the material for the enemy, and then slowly decreasing the alpha value of the main colour in script.
To fade the screen in or out, use this:
http://www.unifycommunity.com/wiki/index.php?title=FadeInOut