Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ParticleSystem.Burst Constructor

Switch to Manual
public ParticleSystem.Burst(float _time, short _count);
public ParticleSystem.Burst(float _time, short _minCount, short _maxCount);

Parameters

_time Time to emit the burst.
_minCount Minimum number of particles to emit.
_maxCount Maximum number of particles to emit.
_count Number of particles to emit.

Description

Construct a new Burst with a time and count.

See Also: ParticleSystem.emissionModule.SetBursts, ParticleSystem.emissionModule.GetBursts.