Removes a Scene from the SceneManager.
The Scene is removed from the local scenes array, it's key is cleared from the keys cache and Scene.Systems.destroy is then called on it.
If the SceneManager is processing the Scenes when this method is called it will queue the operation for the next update sequence.
name | type | description |
---|---|---|
key | string |
A unique key used to reference the Scene, i.e. |
This SceneManager.