ChensHelpers
Chen.Helpers.UnityHelpers
TemporaryParticleSystem Class
A component that should make temporary Particle Systems destroy themselves when the detonate switch is set to true and when the Particle System stops emitting.
public class TemporaryParticleSystem
Inheritance UnityEngine.MonoBehaviour 🡒 TemporaryParticleSystem
Fields | |
---|---|
detonate | A field switch to signal that the Game Object owning the particle system can be destroyed as soon as the Particle System stops emitting. |
particleSystem | The Particle System partnered with this component. |
Methods | |
---|---|
Awake() | Overrideable Awake method. |
FixedUpdate() | Overrideable FixedUpdate method. |