phaser-plugin-update
v2.1.0
Published
Runs a Game Object's `update` method automatically.
Downloads
9
Maintainers
Readme
Phaser 3 Update Plugin
Runs a Game Object's update
method automatically.
new Phaser.Game({
plugins: {
scene: [{ key: 'updatePlugin', plugin: PhaserUpdatePlugin, mapping: 'updates' }]
}
});
In a scene:
this.updates.add(gameObject);
// or
this.updates.addMultiple([ gameObject1, gameObject2 ]);