Make simple hit effect
I've made a game where you can shoot some cans, but I want to add an effect when a can is shot. You know, a kind of explosion or something like that. The way the game works now is: when the can is shot it disappears destroy(gameobject)
, but I want to add an effect before it disappears. Any suggestions? I want to keep it simple. The effect has to be in within the same method where I destroy the cans.
public void Shot()
{
//effect should be here
Destroy(gameObject);
}
Answer by venkat555 · Dec 14, 2017 at 07:45 AM
https://www.youtube.com/watch?v=50rlfU-rOk8∈dex=11&list=PLpPd_BKEUoYh40LeJXTgA6E53gCMPq3MX,https://www.youtube.com/watch?v=50rlfU-rOk8∈dex=11&list=PLpPd_BKEUoYh40LeJXTgA6E53gCMPq3MX fallow this tutorial and do it easy way
Your answer
Follow this Question
Related Questions
Destroy an INDIVIDUAL instantiated object 0 Answers
Change rotation sensitivity of Oculus Rift? 0 Answers
3D object Fade in effect 0 Answers
Make a music menu that carries over scene reload. 0 Answers
how to make a running player fly through the air at a particular distance from the ground 0 Answers