Time for action – creating the project
Let's get started. The first step is, of course, to start Unity and create a new project. Naming the project Ch6_SpaceFighter
will work well:
Once Unity has finished initializing, this is a perfect opportunity to set our build settings. Open the Build Settings window, select Android from the list of platforms, and hit Switch Platform to change the target platform.
While at the Build Settings window, select Player Settings to open the player settings in the Inspector. Adjust the Company Name, Product Name, and especially the Bundle Identifier.
We need to create a few folders to keep the project organized. The
Scripts
,Models
, andPrefabs
folders should be created in the Project window.We now need to import the assets for this project. We are going to need a space ship for the player, an enemy space ship, an explosive mine, and some asteroids. Luckily, all of these have already been prepared and are available with the starting assets for this chapter. Import...