Question by
mikkelisaksen88 · Dec 28, 2018 at 10:01 AM ·
#pragma
How do I get lifetime value from particlesystem?
I made a firework system with sub emitters
I scripted a soundeffekt for when launching the rockets but I can not seem to grasp how to make the "explotion Sound effekt "trigger.
I configurared "start lifetime" to random between 0.4 - 2.0 seconds. And I think it would work if I somehow could get the "start lifetime value" in seconds and assign it to a variable and then set my explotion Sound effekt with a timer with that variable.
I hope it made sense
Comment
Your answer
Follow this Question
Related Questions
Failed to start the Unity Package Manager local server process 0 Answers
Unity3d 5.2.2 Runtimecontroller in Animation 0 Answers
mesh generation with mouse input inity 0 Answers
How to repair this? 1 Answer
not run app again when read nfc tag 0 Answers