Time for action – the setup
As we have done in the previous two chapters, we will need to create a new project so that we can create our next game. Obviously, the first thing to do is to start a new Unity project. For organizational purposes, name it Ch3_TankBattle_CS
.
This project will also grow to become much larger than our previous projects, so we should create some folders to keep things organized. For starters, create six folders. The top level folders will be the
Models
,Scripts
, andPrefabs
folders. InsideModels
, createEnvironment
,Tanks
, andTargets
. Having these folders makes the project significantly more manageable. Any complete model can consist of a mesh file, one or more textures, a material for every texture, and potentially dozens of animation files.Before we go too far, it is a good idea to change your target platform to Android, if you haven't already done so. Every time the target platform is changed, all of the assets in the project need to be re-imported. This is an...