Hello,
I would like to make object’s material flicker when it’s collider collides with something.
Like in some arcade shooter’s games if you know what I mean
I need a tip!
Hello,
I would like to make object’s material flicker when it’s collider collides with something.
Like in some arcade shooter’s games if you know what I mean
I need a tip!
Use Renderer.Material.color:
http://unity3d.com/support/documentation/ScriptReference/Renderer-material.html
http://unity3d.com/support/documentation/ScriptReference/Material-color.html
You can also use change the enabled state of the Renderer (because in some old games the characters disappear and reappear when hit)
http://unity3d.com/support/documentation/ScriptReference/Renderer.html
I will test your suggestions, thanks guys