This is an action that just goes into a shuriken particle system and emits a burst of particles that the user defines. It's very simple (and adapted from both the Unity manual and referencing the other Shuriken actions that are in existence.)
How to use this action.
- Input the gameObject that has the particle system on it.
- Tell it how many particles to emit.
That's it.
When using this, I've used it for a bullet trail and muzzle-flash system... On those, in order to ensure that the particle system is cleanly used, I set the emitter in the Particle window/tab to "none" (this doesn't seem to negatively affect the performance of this action) It doesn't seem to mind if the particle system is looping or not either. So, it's here if you needed something like this.
If you think there could be more shuriken actions made, I can see what I can do about that. I only put this one together because I was getting a little tired of the "Set Property" action having to reset the particle timer, turning it on/off, etc. in order to get a particle to be released (as is the case with the bullet trails.)
If you have any suggestions, critiques, advise, by all means let me know. Anything I can do to help improve my coding knowledge is more than welcome.