Namespace: Plugins

Phaser. Plugins

Classes

BasePlugin
PluginManager
ScenePlugin

Namespaces

PluginCache

Members


<static> CoreScene :array

These are the core plugins that are installed into every Scene.Systems instance, no matter what. They are optionally exposed in the Scene as well (see the InjectionMap for details)

They are created in the order in which they appear in this array and EventEmitter is always first.

Type:
  • array
Since: 3.0.0
Source: src/plugins/DefaultPlugins.js (Line 38)

<static> DefaultScene :array

These plugins are created in Scene.Systems in addition to the CoreScenePlugins.

You can elect not to have these plugins by either creating a DefaultPlugins object as part of the Game Config, by creating a Plugins object as part of a Scene Config, or by modifying this array and building your own bundle.

They are optionally exposed in the Scene as well (see the InjectionMap for details)

They are always created in the order in which they appear in the array.

Type:
  • array
Since: 3.0.0
Source: src/plugins/DefaultPlugins.js (Line 61)

<static> Global :array

These are the Global Managers that are created by the Phaser.Game instance. They are referenced from Scene.Systems so that plugins can use them.

Type:
  • array
Since: 3.0.0
Source: src/plugins/DefaultPlugins.js (Line 17)

Type Definitions


DefaultPlugins

Type:
  • object
Properties:
Name Type Description
Global array

These are the Global Managers that are created by the Phaser.Game instance.

CoreScene array

These are the core plugins that are installed into every Scene.Systems instance, no matter what.

DefaultScene array

These plugins are created in Scene.Systems in addition to the CoreScenePlugins.

Source: src/plugins/DefaultPlugins.js (Line 7)