Hi! I am making a simple 3d game of a ball trying to dodge obstacles while moving forward.
Anyway I wanted to make different levels, so I made the first one and I wanted to make another scene to be the next lvl, I loded the player prefab but the UI I made (text field that keeps score) is gone and also, the camera was following the player on the previous lvl(I made a script), now it is not doing that.
Do I have to do everything from scratch? is there an efficient way to create more levels?
Check out SceneManager.LoadScene with the Additive parameter. This will load in a scene without unloading existing scenes. Then, have one scene with the UI and possibly the camera and player, that doesn’t get unloaded. Then just load and unload the levels as needed. I give more info on this in This unity answers post.