Retrieves a Scene based on the given key.
If an actual Scene is passed to this method, it can be used to check if its currently within the Scene Manager, or not.
name | type | description |
---|---|---|
key | string | Phaser.Scene |
The key of the Scene to retrieve. |
The Scene, or null
if no matching Scene was found.