- Home /
Particle System Appear Where Clicked
Hi all! In my game, I want to make a script so that where I click, my particle system appears for a few seconds, then disappears. Can anyone help me get a good starting point or link tutorials? I searched online and even on Unity script references but I can't find anything useful. Thanks!
Answer by Rothanan · Jul 25, 2016 at 11:05 PM
You can achieve that by having a ParticleSystem with the option "Play On Awake" and "Loop" deactivated and whenever you click: you move this ParticleSystem to your mouse position and them use "ParticleSystem.Play ()". "ParticleSystem.Emit (int)" is also a functional option.
Your answer
Follow this Question
Related Questions
Emit Random Particles? 2 Answers
Does anyone know how to go about achieving slash effects like this? 0 Answers
How do you change the colour of individual particles having assigned them a material? 1 Answer
Particle collision problem 0 Answers
How to keep particles moving past an obstacle after they have collided with it? 3 Answers