Hi

Hello
We have a cube in the scene And pressing Space will slowly begin to disappear . How do I do this with JavaScript?
Thanks

Hi

No Your Massage

Wat? ROFL

Anyway hi, I think that you can manipulate the cube’s texture alpha to make it transparent, if you variate this value with the time you can make it become transparent bit by bit and then, puff, destroy it.

http://docs.unity3d.ru/Components/class-Texture2D.html

Look at iTween.FadeTo()

Much also depends on th eshader you use. Some shaders do not support fades.

Hi LOL!