Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

countSpecify the number of particles to emit.
cycleCountSpecifies how many times the system should play the burst. Set this to 0 to make it play indefinitely.
maxCountThe maximum number of particles to emit.
minCountThe minimum number of particles to emit.
probabilityThe probability that the system triggers a burst.
repeatIntervalHow often to repeat the burst, in seconds.
timeThe time that each burst occurs.