There are many times during development you may want to see how your game will appear if you build it outside 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 development kit.
No matter what platform we wish to create out game for in order to build it we need to go to the Build Settings menu.
In order to access Build Settings, we will need to go to File | Build Settings from the top menu (or by pressing Ctrl + Shift + B).
Once you're ready, select Platform from the bottom-left menu. The Unity logo will show the one you're currently compiling for. We're going to compile for Windows now, so if it is currently not set to PC, Mac & Linux Standalone, select it and press the Switch Platform button.
Once you have all of this set up, press the Build button. It will ask you for a name and a location to place the game. I'm going to name it
FPSGameand put it in an
Exportfolder located in the same...