ParticleSystem.Burst
Script interface for a Burst.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Struct
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public struct ParticleSystem.Burst
Remarks
A burst is a particle emission event, where a number of particles are all emitted at the same time. Additional Resources: ParticleSystem.emission, SetBursts, GetBursts.
Constructors
Constructor | Description |
|---|---|
| Burst(System.Single,System.Int16) | Construct a new Burst with a time and count. |
| Burst(System.Single,System.Int16,System.Int16) | Construct a new Burst with a time and count. |
| Burst(System.Single,System.Int16,System.Int16,System.Int32,System.Single) | Construct a new Burst with a time and count. |
| Burst(System.Single,UnityEngine.ParticleSystem.MinMaxCurve) | Construct a new Burst with a time and count. |
| Burst(System.Single,UnityEngine.ParticleSystem.MinMaxCurve,System.Int32,System.Single) | Construct a new Burst with a time and count. |
Properties
Property | Description |
|---|---|
| count | Specify the number of particles to emit. |
| cycleCount | Specifies how many times the system should play the burst. Set this to 0 to make it play indefinitely. |
| maxCount | The maximum number of particles to emit. |
| minCount | The minimum number of particles to emit. |
| probability | The probability that the system triggers a burst. |
| repeatInterval | How often to repeat the burst, in seconds. |
| time | The time that each burst occurs. |