Mirror Engine Logo
How To
Mirror Engine Logo

Scenes

Scenes simply organize entities. Each scene has a base Scene Entity automatically created by Mirror Engine.

Change Scenes by Script

🚀 New in v2.8!

Call this.changeScene(sceneId: string) to switch scenes in a MirrorScript. You can get the scene ID from the Build Mode UI by clicking the copy to clipboard button.

Every Game Has a First Scene

The first scene is the default scene that players join in Play Mode. Every game will have a first scene specified.

Scene Settings

You can set scene-specific settings such as lighting, exposure, fog, gravity, and skyboxes. More info to come.

Change Scenes in Build Mode

You can switch scenes at any time by clicking the bottom-right Scene button and clicking the play button on the scene you want to join.