Version: 2023.2
言語: 日本語

Burst

struct in UnityEngine

マニュアルに切り替える

説明

Burst のスクリプトインターフェース。

A burst is a particle emission event, where a number of particles are all emitted at the same time. Additional resources: ParticleSystem.emission, ParticleSystem.emissionModule.SetBursts, ParticleSystem.emissionModule.GetBursts.

変数

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.
maxCount放出するパーティクルの最大数
minCountThe minimum number of particles to emit.
probabilityThe probability that the system triggers a burst.
repeatIntervalHow often to repeat the burst, in seconds.
timeそれぞれの Burst が起こる時間

コンストラクタ

ParticleSystem.Burst時間と個数を指定し、新規の Burst を構築します。