I was following along with some Udemy videos on how to make a Number Wizard game but the version they use in the videos is earlier than the version I’m using, which is the latest. Where they use…
Application.LoadLevel(“SceneName”);
I have to use
SceneManager.LoadScene
though my question is that every time I put a value inside of the parentheses after calling to load a scene, it only loads the scene I have scripted.
ex. If I type SceneManager.LoadScene(1); every time I click on a button in my game, it will only load scene 1 and nothing else. I have the script correct but when I press a button to go to scene 2, I need the game to go to scene 2 and not scene 1.