Main Menu Problems

Hey,

First time posting on the threads. I am fairly new to Unity and I was wondering if you guys could help me out. I have created a Main Menu, but I do not know how to get it to be the first thing that the player sees when the game starts.

Also, when my game ends, and you click to go back to the main menu, it just blinks to the main menu and then restarts level 1.

Any help would be appreciated!!

Stephen

Well, if you have a scene that is main menu, you can just set that scene as first in your build settings(just add the main menu scene to the top of the scene list). Then when you end a level, just load that scene up.

If you want it in one scene, you’ll have to turn it on or off depending on when you need it displayed, plus also ensure everything in the level is no longer responding to input incorrectly.

1 Like

Yes, its the first in the build setting. I went ahead and made a build. What happens is the main menu pops up for a split second then goes right into the first level. I don’t even get to hit the start button. Any idea what it could be?

Sounds like you have some code that loads up your game right away. Do you have a call to LoadLevel that is being called off the bat in a script in your MainMenu scene?

1 Like

Yeah, I think that was the problem. Thanks so much!