Manipulating scenes
A scene is one of the several kinds of files (also known as Assets) in our project. A scene can mean different things according to the type of project or the way a company is used to working, but the most common use case is to separate your game into whole sections, the most common ones being the following:
- Main Menu
- Level 1, Level 2, Level 3, …, Level N
- Victory Screen, Lose Screen
- Splash Screen, Loading Screen
In this section, we will cover the following concepts related to scenes:
- The purpose of a scene
- The Scene View
- Our first GameObject
- Navigating the Scene View
- Manipulating GameObjects
The purpose of a scene
The idea of separating your game into scenes is that you will process and load just the data needed for the scene; so, if you are in the Main Menu you will have only the textures, music, and objects that that particular scene needs—there's no need to have the Level 10 Boss loaded...