Project setup
At this point, I have assumed that you have Unity started up and have our project from the previous chapter loaded. Now, perform the following steps:
With Unity started, open the project from the previous chapter.
Since we want to keep our projects nice and tidy, we are going to do some refining of our project's structure before starting with this project. Create the following folders:
Scenes
Terrains
Prefabs
Materials
Place the scene from the previous chapter in your
Scenes
folder.Next, move the terrain object and
Terrain Assets
folder to theTerrains
folder, so everything having to do with our terrains is in one place.Place your tree prefab we made in the
Prefabs
folder.Place the scripts from
Standard Assets\Character Controllers\Sources\Scripts
to yourScripts
folder (optionally in a folder calledCharacter
).Move the
First Person Controller
prefab to thePrefabs
folder.Move the
Skyboxes
andWater
folders to theMaterials
folder, deleting theDaylight Simple Water
prefab...