8000 Docs error in "Scene systems and plugins" · Issue #7127 · phaserjs/phaser · GitHub
[go: up one dir, main page]

Skip to content
Docs error in "Scene systems and plugins" #7127
@samme

Description

@samme

https://docs.phaser.io/phaser/concepts/scenes#scene-systems-and-plugins

Any extra scene plugins you've added in the game config with { start: true } or any { mapping: … } are also default plugins.

etc. is incorrect. The correct description is

Any scene plugins added to the game config are default plugins and will be installed in each scene unless excluded in the scene config.

Custom scene plugins can be excluded like

new Phaser.Scene({
  // Phaser's default scene plugins only.
  plugins: Phaser.Plugins.DefaultPlugins.DefaultScene
});

Phaser default scene plugins can be excluded like

new Phaser.Scene({
  // "DataManagerPlugin", "Loader", and "LightsPlugin" are omitted.
  plugins: ["Clock", "InputPlugin", "TweenManager"],
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    < 347B /div>No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0