-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Open
Labels
Description
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"],
});