Adding cucumber patches to our terrain
In Chapter 6, Creating and Importing 3D Objects for Our Game, we used planes to designate six cucumber patch areas. In this section, we will make a seventh cucumber patch and use it in our sandbox area. We will also plant cucumber patches inside the new cucumber patch area.
Creating a cucumber patch area in the sandbox
This section guides you through the steps necessary to create a cucumber patch area in the sandbox. In the Hierarchy
panel, you should have a Cucumber Patch Areas
game object that contains every size of cucumber patch, each one a 3D object of the plane
type. If you do not have these objects, which are shown in the following screenshot, either revisit Chapter 6,Creating and Importing 3D Objects for Our Game, or download theStarting-Chapter-08
Unity project available from the publisher's companion site:
Here are the steps to create a sandbox area in our game:
- In the
Hierarchy
panel, expand theCucumber Patch Areas
game object to expose the...