- Home /
Can i do multiples scenes ?
Here is my question :
If I want to make some "blocs" (scene with many game objects and their properties), can i use a unity feature or create an add-on/editor to put this "blocs" together ?
dunno if i were clear enough, excuse my english, i'm french ^^
Answer by Sladix · Jan 19, 2011 at 12:26 AM
Thanks, but how can i define where i want the scene to be loaded (left, right) and how can i rotate the loaded scene to fit the way i want them to ?
Answer by fireDude67 · Jan 19, 2011 at 12:21 AM
Application.LoadLevelAdditive("SceneNameGoesHere");
API link: http://unity3d.com/support/documentation/ScriptReference/Application.LoadLevelAdditive.html
What is does is load the content of the scene "SceneNameGoesHere"
into the current scene, so that you can combine multiple scenes into a single one
Thanks, but how can i define where i want the scene to be loaded (left, right) and how can i rotate the loaded scene to fit the way i want them to ?
Application.LoadLevelAdditive() will load the new scene at the same positions. So if you had a cube at (0, 0, 0) in the first scene and then loaded the new scene and in that scene there was a cube at (0, 20, 0) then you should see both cubes because it preserves the original position
Your answer
Follow this Question
Related Questions
Multiple users in a single Project 2 Answers
multiple cameras on the one screen 1 Answer
Can multiple scenes run at the same time? 1 Answer
Change objects in scene 3 Answers
Add a different game to another 1 Answer