Phaser API Documentation

  Version: 
setMethods()

Description:

Update the Phaser.GameObjects.Particles.EmitterOp#onEmit and Phaser.GameObjects.Particles.EmitterOp#onUpdate callbacks based on the method returned from getMethod. The method is stored in the EmitterOp.method property and is a number between 0 and 9 inclusively.

Returns:
Description:

This Emitter Op object.

Since: 3.0.0