Planting cucumber patches

We will use our cucumber patches, the CucumberPatch1 and CucumberPatch2 prefabs, to create cucumber patch areas in the sandbox. These areas will serve as cover for our cucumbers. In this section, we will create an empty game object to encapsulate a series of cucumber patches. Let's get started:

  1. Right-click the Sandbox in the Hierarchy panel and select Create Empty.
  2. Rename the new GameObject as cucumberPatches.
  3. Drag several CucumberPatch1 prefabs onto the scene, in your sandbox.

 

  1. Drag several CucumberPatch2 prefabs onto the scene, in your sandbox.
  2. In the Hierarchy panel, move all the newly created cucumber patches to the cucumberPatches game object under Sandbox. This is merely to keep the Hierarchy panel organized. ...

Get Getting Started with Unity 2018 - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.