- Home /
Question by
Sethsmagic · Aug 18, 2014 at 09:22 AM ·
particle systemparticle
How can I activate a particle on key press in C#
I'm trying to write a C# script to activate a particle system on key press, but I have had no luck. I have a particle system called "pulse" and it is attached to my gameobject "player" and when I press the letter "c" for example I would like to see the particle effect activated. Any ideas? Thank you very much!
PS: I have tried searching for answers for a few hours now, but the solutions either don't work or are in javascript. Any help would be greatly appreciated. I have taken a screenshot of my pulse particle if it helps.
pulse_particle.jpg
(64.8 kB)
Comment