- Home /
How to put seperate scenes together into one game
So I have built a Unity Map with a Main Menu and then three levels. However each level has been built into separate folders (this includes the main menu). I was wondering how I put them together correctly into the same folder so I can build the game.
I attempted to do this by dragging and dropping each into the same folder, however each map clashed with one another and deleted/hid objects. I did rename the terrains so they wouldn't clash, but they still do (terrains).
Any ideas? Thanks!
Answer by NickP_2 · Feb 05, 2014 at 10:13 PM
Each level or menu should be in another scene. You can create those from the menu -> file -> new scene.
To load levels, add all the scenes to the building settings: menu -> file -> build settings, and drag the scene files from the project folder into the window.
To load a level, use the Application.LoadLevelfunction. You can enter an integer as parameter to load a certain level. These integers are displayed in the building settings (its the numer right of the scene name)
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Plugin Container for Firefox/Unity Web Player crash whenever I try to load Dead Trigger 2 0 Answers
Realistic game 1 Answer
Game Launcher Image. 1 Answer
MiniMap Icons 0 Answers