- Home /
Load Level Additive tutorial problem
Basically, in the Creating a Scene Selection UI tutorial, they show how to add one scene to another without destroying anything in either scene by using Application.LoadLevelAdditive.
However, this is now deprecated and the Unity Editor says to use SceneManager.LoadScene instead.
My problem, as a Unity newbie, is how do I use SceneManager.LoadScene to do what Application.LoadLevelAdditive did? What I currently have is a menu screen in one scene and I want to make a second scene with just a bubble particle effect and combine the two so that when the player clicks on a hidden button on the menu screen, the bubbles appear on the side of the menu screen.
Thanks in advance for any help with this.
Answer by jk15 · May 30, 2016 at 01:11 AM
Was looking for this also and then found the answer - posting in case someone else needs to know.
Old:
Application.LoadLevelAdditive(sceneNameOrIndex);
New:
SceneManager.LoadScene(sceneNameOrIndex, LoadSceneMode.Additive);
Your answer
Follow this Question
Related Questions
Resources.load vs LoadLevelAdditive which is faster 1 Answer
Loading a level while pausing the current one? 0 Answers
deleting previous scene in transitional room 1 Answer
Geometry not rendering after Application.LoadLevelAdditive 0 Answers
Is there a way to load a specific GameObject from another scene? 1 Answer