IsAlive
Does the Particle System contain any live particles, or will it produce more?
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
IsAlive(bool)
Does the Particle System contain any live particles, or will it produce more?
public bool IsAlive(bool withChildren)
Parameters
Check all child Particle Systems as well.
Returns
Type | Description |
|---|---|
| bool | True if the Particle System contains live particles or is still creating new particles. False if the Particle System has stopped emitting particles and all particles are dead. |
IsAlive()
Does the Particle System contain any live particles, or will it produce more?
public bool IsAlive()
Returns
Type | Description |
|---|---|
| bool | True if the Particle System contains live particles or is still creating new particles. False if the Particle System has stopped emitting particles and all particles are dead. |