From the course: Unity 5: 2D Level Design

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Reconnect the scenes

Reconnect the scenes - Unity Tutorial

From the course: Unity 5: 2D Level Design

Start my 1-month free trial

Reconnect the scenes

- [Narrator] Now that we have everything imported, you may have noticed if you run the game and try to play it, it throws an error. One of the downsides of importing code from a Unity package is that some of the project settings don't follow along with it. In order to fix this, we're going to need to set up the scenes in the scene manager. Let's go to File, Build Settings, and add our current scene, which should be the Jetroid SplashScene, to the scenes that'll be included in our build. While keeping this window open, click on the GameStaging, and add that scene as well. Now we can close the Build Settings window and go back to our SplashScene. If we re-run the game, we should be able to start the game. But, as you'll see, the gravity is off, and our aliens aren't walking correctly. Let's stop the game and fix the gravity first. We'll need to go into the Edit menu, Project Settings, and let's go to Physics 2D. These are the global physics settings for our entire game. When we…

Contents