Scripting Shuriken

How does one access the Shuriken modules from code in version 3.5?

For example, I would like to be able to fire off a particle system programmatically instead of relying on the random nature of a cone angle. For this to work, I’d need to access the “Velocity over Lifetime” parameters from within a script.

Any examples or ideas?

For what it’s worth, I’ve already iterated over both sibling and child components (of a Shuriken ParticleSystem) and find nothing of value. I suspect that the Shuriken system is simply under-exposed. Hopefully, this will be fixed in 3.5.1! :slight_smile:

Thanks in advance!

So, I’ve found this scripting tutorial for Shuriken. I’ve had this same question for a while, and I’m not working through this page to learn all about it. Seems pretty handy! Hope it helps.

http://catlikecoding.com/unity/tutorials/graphs/