- #Space shooter unity pc build how to
- #Space shooter unity pc build .exe
- #Space shooter unity pc build mac
The building process will place a blank copy of the built game application wherever you specify. Think of it like this: Other people must have the same files on their computer, as the resulting files that Unity builds for you, in order to run your game.
#Space shooter unity pc build .exe
exe file and the Data folder for others to run it.
#Space shooter unity pc build mac
For the Mac build target, an app bundle will be built which contains the file needed to run the application as well as the resources.ĭistributing your standalone on Mac is just to provide the app bundle (everything is packed in there). For the Windows build target, an executable file (.exe) will be built, along with a Data folder which contains all the resources for your application. When building standalone players, the resulting files will vary depending on the build target. It’s simply a matter of choosing the build target in the build settings dialog, and hitting the ‘Build’ button. With Unity you can build standalone applications for Windows, Mac and Linux. You cannot save the build into the Assets folder.Įnabling the Development Build checkbox on a player will enable Profiler functionality and also make the Autoconnect Profiler and Script Debugging options available.įurther information about the Build Settings window can be found on the Build Settings page. If you are unsure where to save your built game to, consider saving it into the projects root folder. When you click Save, Unity builds your game pronto. You will be able to select a name and location for the game using a standard Save dialog. When you are ready to publish your build, select a Platform and make sure that the Unity logo is next to the platform if its not then click in the Switch Platform button to let Unity know which platform you want to build for. The scene will disappear from the list and will not be included in the build. If you want to remove a scene from the list, click to highlight the scene and press Command-Delete. If you’ve added more than one scene file and want to rearrange them, simply click and drag the scenes on the list above or below others until you have them in the desired order. When you want to load a new scene, use Application.LoadLevel() inside your scripts.
Scene 0 is the first scene that will be loaded when you build the game. The second way to add scene files is to drag them from the Project View to the list.Īt this point, notice that each of your scenes has a different index value. You will see the currently open scenes appear in the list. The first way is to click the Add Open Scenes button. It is easy to add scene files to the list for multi-scene builds. If you want to quickly build a test player with only one scene file, just build a player with a blank scene list. If you build your game while this list is blank, only the currently open scene will be included in the build. The first time you view this window in a project, it will appear blank. It pops up an editable list of the scenes that will be included when you build your game.
#Space shooter unity pc build how to
This section will explain how to access the Build Settings and how to create different builds of your games.įile->Build Settings… is the menu item to access the Build Settings window.
At any time while you are creating your game, you might want to see how it looks when you build and run it outside of the editor as a standalone.