From the course: Learning Unity 2D Scripting

Scenes - Unity Tutorial

From the course: Learning Unity 2D Scripting

Start my 1-month free trial

Scenes

- [Narrator] Before we move on, let's take a quick moment to explain what a scene is. A scene represents the current state of our game. You can have multiple scenes that represent individual levels of a game. You can use scenes for splash screens, or for game over screens, or you can put all of your game content into a single screen, and use coding to hide and show the elements that you need, based on the state of the game. As we continue to work with our scene, we're going to want to make sure that we save the changes we make to it. First, let's go to our project folder, and create a new folder called scenes. Next, we can go to the file menu, and select save scenes. This will allow us to save the current scene we're already in. Unity creates an untitled one by default. Let's give it a name and call it script staging. Next, we'll save this inside of our scenes folder. If we look inside of the scenes folder, you'll now see the script staging scene has been saved and at the top of the screen, we'll see the current version of Unity and the Script Staging dot unity file is open. If, for any reason, you need to open this scene, you can always go into the scenes folder, and double-click on the scene to reopen it.

Contents