Project setup
At this point, I have assumed that you have a fresh installation of Unity, and have started it up. You need to perform the following steps:
- Open the previous project. Now, let's first create a new scene by navigating to File | New Scene. With the new scene created, save it by navigating to File | Save Scene. Name it
Main_Menu.unity
and save it inside yourScenes
folder. - Let's first grab the background from our previous level so that we do not need to create it once again. To do that, double-click on the scene you created in the first chapter. Left-click on the Background object in the Hierarchy view and navigate to Edit | Copy. Go back to your
Main_Menu
scene and paste it into the world by navigating to Edit | Paste:Unity has an inbuilt GUI functionality through the UnityGUI system that allows us to create interfaces through scripts.
Note
Unless you are using Unity 4.6 or later, Unity doesn't have an included visual GUI development system, but you can find tools...