class
ParticleEmitter
public abstract class ParticleEmitter : Component Creates particles. Should be attached to a ParticleEffect.
Properties
| Name | Type | Description |
|---|---|---|
Loop | Boolean | Whether the emitter should restart after finishing |
DestroyOnEnd | Boolean | Whether to destroy the GameObject when the emitter finishes (only applies when Loop is false) |
Duration | ParticleFloat | How long the emitter should run for, after the Delay |
Delay | ParticleFloat | How many seconds to wait before the emitter starts |
Burst | ParticleFloat | How many particles to emit, in a burst |
Rate | ParticleFloat | How many particles to emit over time |
RateOverDistance | ParticleFloat | How many particles to emit per 100 units moved |
Delta | Single | 0-1, the life time of the emitter |
IsBursting | Boolean | True if we're doing a burst |
EmitRandom | Single | 0-1, a random number to be used for this loop of the emitter |
Methods
Void ResetEmitter() virtual Boolean Emit(ParticleEffect target) Fields
| Name | Type | Description |
|---|---|---|
time | Single |