Version: 2017.2

ParticleSystem.BurstConstructor

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

Parameters

_time Time to emit the burst.
_minCount Minimum number of particles to emit.
_maxCount Maximum number of particles to emit.
_count Максимальное количество частиц, которые можно испустить.
_cycleCount Number of times to play the burst. (0 means indefinitely).
_repeatInterval How often to repeat the burst, in seconds.

Description

Construct a new Burst with a time and count.

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

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961