Phaser API Documentation

  Version: 
Filter
This is a beta release of our new docs system. Found an issue?
Please tell us about it in the #📖-newdocs-feedback channel on the Phaser Discord
Namespace: Settings
Phaser.Scenes.Settings
Source: src/scene/Settings.js (Line 12)

Methods

<static> create(config)
Focus
Focus

Description:

Takes a Scene configuration object and returns a fully formed System Settings object.

Parameters:

name type description
config string | Phaser.Types.Scenes.SettingsConfig

The Scene configuration object used to create this Scene Settings.

Returns:
Description:

The Scene Settings object created as a result of the config and default settings.

Examples:
Since: 3.0.0
Source: src/scene/Settings.js (Line 18)
Focus
Focus