Question by
waffle_bacon_cheese_potato · Apr 21, 2016 at 03:58 PM ·
2d game
how to make levels
Im making a 2D ufo game with 3 scenes in the project i need to merge them so once you complete one it will take you to the next scene but i don't know how
Comment
Best Answer
Answer by TBruce · Apr 21, 2016 at 04:05 PM
Why do you feel that you need to merge them. You can just do the following at the completion of each scene
Lets say that you have 3 scenes named "Level1", "Level2" and "Level3".
Upon completing Level1 you call
UnityEngine.SceneManagement.SceneManager.LoadScene("Level2");
Upon completing Level2 you call
UnityEngine.SceneManagement.SceneManager.LoadScene("Level3");
ok that helps but where do i put that code around the top?
Your answer
![](https://koobas.hobune.stream/wayback/20220612075322im_/https://answers.unity.com/themes/thub/images/avi.jpg)