Hello Everyone in Unity community! Im new to unity. i have used a little bit unity version 4.5 before but now im going to use unity Version 5.3. its changed. well how can i load a scene over another scene in this version.
2 Answers
2Use this:
SceneManagement.SceneManager.LoadScene(int or string);
string would mean the name of the scene to load.
int would mean the index of the scene in the Build Settings to load.
can i use something like Application.loadLevel(Application.loadedlevel +1); ?
That code looks right if you check that Application.loadedlevel+1 exists. But take into acount that Application will be deprecated in future versions. You should use SceneManager instead.
– mikelortega