Inheritence

Summary

Creates particles. Should be attached to a ParticleEffect.

Constructors

ParticleEmitter

Fields

evaluatedRateOverDistance
time

Properties

Burst How many particles to emit, in a burst
Delay How many seconds to wait before the emitter starts
Delta 0-1, the life time of the emitter
DestroyOnEnd Whether to destroy the GameObject when the emitter finishes (only applies when Loop is false)
Duration How long the emitter should run for, after the Delay
EmitRandom 0-1, a random number to be used for this loop of the emitter
IsBursting True if we're doing a burst
Loop Whether the emitter should restart after finishing
Rate How many particles to emit over time
RateOverDistance How many particles to emit per 100 units moved

Methods

Emit
EmitOverDistance
GetBurstCount Allows child emitters to override how many particles are in a burst
GetRateCount Allows child emitters to override how many particles are in a rate
OnBurst
OnDisabled
OnEnabled
ResetEmitter
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.