Swaps the position of two scenes in the Scenes list.
This controls the order in which they are rendered and updated.
name | type | arguments | description |
---|---|---|---|
keyA | string | Phaser.Scene |
The first Scene to swap. |
|
keyB | string | Phaser.Scene | <optional> |
The second Scene to swap. If none is given it defaults to this Scene. |
This Scene Plugin instance.