How to make a Main Menu????
I wish to make a menu for a small project im working on, but I dont know how to code the Play and Exit buttons. Can you all help me?
Answer by Soos621 · Nov 11, 2015 at 06:40 PM
Use unity's UI gameobject to control the menu, the play button can switch a scene or just disable the UI the exit button can exit the entire application or back out into the main menu scene
//application.loadlevel and application.cancelquit http://docs.unity3d.com/ScriptReference/Application.html
//unity ui manual/ tutorial https://unity3d.com/learn/tutorials/topics/user-interface-ui
Answer by bman6767 · Nov 11, 2015 at 06:47 PM
Thanks!! Im new to this so thank you for your help!
no problem! please give my answer a vote, it helps my reputation XP
Answer by Learner2Unity · Nov 11, 2015 at 07:33 PM
Yes agreed as above and you should see the results!
Your answer
![](https://koobas.hobune.stream/wayback/20220612044734im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Game starts with pause menu activated 1 Answer
Disable 3rd person controller when menu's are active 0 Answers
My menu screens are in the floor of my levels 0 Answers
Online Menu that I can change things without updating the game 0 Answers
How do I make an uninteractable menu button interactable? 1 Answer