You can edit multiple scenesA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary using scriptsA piece of code that allows you to create your own Components, trigger game events, modify Component properties over time and respond to user input in any way you like. More info
See in Glossary within the Editor or at runtime.
When using (or running) scripts within the Editor, use:
When using scripts at runtime to edit multiple scenes, use the functions in the SceneManager class such as LoadScene
and UnloadScene
.
Tips:
ScriptableObject
along with any other information you want to store about your scene setup. To restore your Hierarchy window, recreate the list of SceneSetups
and use EditorSceneManager.RestoreSceneManagerSetup.sceneCount
and iterate over the scenes with GetSceneAt
.