Phaser API Documentation

  Version: 

Member of: Phaser.Types.Core

PluginObjectItem
Properties:
name type arguments description
key string <optional>

A key to identify the plugin in the Plugin Manager.

plugin * <optional>

The plugin itself. Usually a class/constructor.

start boolean <optional>

Whether the plugin should be started automatically.

systemKey string <optional>

For a scene plugin, add the plugin to the scene's systems object under this key (this.sys.KEY, from the scene).

sceneKey string <optional>

For a scene plugin, add the plugin to the scene object under this key (this.KEY, from the scene).

mapping string <optional>

If this plugin is to be injected into the Scene Systems, this is the property key map used.

data * <optional>

Arbitrary data passed to the plugin's init() method.

Type:
object
Since: 3.8.0