Skip to content

Commit 88c8bb1

Browse files
committed
Update docs to clarify phaserjs#4403
1 parent 0cfbc79 commit 88c8bb1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/scene/ScenePlugin.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,11 @@ var ScenePlugin = new Class({
571571

572572
/**
573573
* Makes this Scene sleep then starts the Scene given.
574+
*
575+
* No checks are made to see if an instance of the given Scene is already running.
576+
* Because Scenes in Phaser are non-exclusive, you are allowed to run multiple
577+
* instances of them _at the same time_. This means, calling this function
578+
* may launch another instance of the requested Scene if it's already running.
574579
*
575580
* @method Phaser.Scenes.ScenePlugin#switch
576581
* @since 3.0.0

0 commit comments

Comments
 (0)