Phaser API Documentation

loadConfig([config], [newKey])


Load the property from a Particle Emitter configuration object.

Optionally accepts a new property key to use, replacing the current one.


name type arguments description
config Phaser.Types.GameObjects.Particles.ParticleEmitterConfig <optional>

Settings for the Particle Emitter that owns this property.

newKey string <optional>

The new key to use for this property, if any.

Since: 3.0.0