Setting up the build settings
There are many times during development that you may want to see what your game looks like if you build it outside of the editor. It can give you a sense of accomplishment; I know, I felt that way the first time I pushed a build to a console devkit. Whether it's for PC, Mac, Linux, web player, mobile, or console, we all have to go through the same menu, the Build Settings menu. We perform the following steps:
We are going to first open our
Twinstick Shooter
project that we created back in Chapter 1, 2D Twin-stick Shooter, Chapter 2, Creating GUIs, and Chapter 7, Creating Save Files in Unity. Open up your main menu scene (in the example code, it is saved asMain_Menu
). Have a look at the following screenshot:To access our Build Settings menu, we will need to navigate to File | Build Settings from the top menu (or press Ctrl + Shift + B). Have a look at the following screenshot:
If you have been following thoroughly from Chapter 2, Creating GUIs, you should see...