I'm in the start screen scene of my game and I'm trying to load the actual game. I use the following code:
public void LoadGame(){
SceneManager.LoadScene ("Main", LoadSceneMode.Single);
}
I set this method to be called when a button in the UI is clicked. When testing in the game in the unity IDE, clicking the button doesn't do anything. Is my code wrong, is the IDE screwing up, or will clicking the button never do anything in the ide?
Debug.Log("Clicked!");
beforeSceneManager.LoadScene
and check in the console if it gets fired. \$\endgroup\$Log()
's \$\endgroup\$