Whats the best way to create a start menu?

I know how to make it ,but what gets me is how to transition from one part too the other. For example: You click on options and then you see all the options appear in front of you. How would you do this? Would you create separate levels to load when you click on a certain button that brings you too that set of buttons because I have no other clue on how you could do it. Help please. Tell me if this is a good way or if you have any other ways to suggest! Thanks!

I just put each screen as a child of my NGUI root.
Then at the root have a UIManager script that shows/hides the relevant menu based on the button click.

Yeah I tried something like that ,but I don’t have NGUI.

var menuName : String = "Main";

function Start(){
   menuName = "Main";
}

function OnGUI(){
    if(menuName == "Main"){
     //buttons, things;
     button that goes to(menuName = "Option");
   }
  
   if(menuName == "Option"){
   //more buttons, things
   //button to next menu, etc;
  }
}

All in one scene. :slight_smile:

So what would this do exactly. What would I have to do where you put comments. All I really want to know is how would this make the camera stop showing one thing and start showing another?

Expanding on Carking, you’d need a pair of buttons for Main and Option and when you click on one or the other, it changes the variable to either Main or Option. That will activate their respective menus. Then where his Majesty put “//buttons, things” is where you build you main menu and where he put “//more buttons, things” that is where you put the options menu script. You will need a button to go back to the other.

Thanks!