Manipulating scenes
A scene is one of 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 and Lose Screen
- Splash Screen and Loading Screen
In this section, we will cover the following concepts related to scenes:
- The purpose of a scene
- The Scene View
- Creating our first GameObject
- Navigating the Scene View
- Manipulating GameObjects
So, let's take a look at each of these concepts.
The purpose of a scene
The idea of separating your game into scenes is so that you will process and load just the data needed for the scene. Let's say you are in the Main Menu; in such cases, you will have only the textures, music, and objects...