Skip to content

Commit 0ac7dec

Browse files
committed
Clarified the docs
1 parent a625963 commit 0ac7dec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scene/ScenePlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ var ScenePlugin = new Class({
443443
* @param {string} key - The Scene key.
444444
* @param {(Phaser.Scene|Phaser.Scenes.Settings.Config|function)} sceneConfig - The config for the Scene.
445445
* @param {boolean} autoStart - Whether to start the Scene after it's added.
446-
* @param {object} [data] - The Scene data.
446+
* @param {object} [data] - Optional data object. This will be set as Scene.settings.data and passed to `Scene.init`.
447447
*
448448
* @return {Phaser.Scenes.ScenePlugin} This ScenePlugin object.
449449
*/

0 commit comments

Comments
 (0)