keijiro / TimelineParticleControl

An example of controlling particle system from timeline.
549 stars 51 forks source link

Update ParticleSystemControlMixer.cs #5

Open EvandroLins opened 3 years ago

EvandroLins commented 3 years ago

Added an override to OnGraphStop() so the particle would stop emitting when the timeline stops midplay. This is useful in my case because I'm using timelines as states, and not always would wait till the timeline ends, so the particle system from the previous timeline/state still played through.