Planting Cucumber Patches

We previously identified six areas for our Cucumber Patches. We can follow the same approach in placing Cucumber Patches in our game environment as we used for our Cherry Trees. If we took an auto-planting approach to planting our Cucumber Patches, we would likely end up with a lot more Cucumber Patches than we want. So, we will take a manual approach.

We have prefabs in the Cucumber Patch folder from our early import. Let's do a few things to prepare these prefabs for our use. Follow these steps:

  1. In the Project panel, right-click in the Prefabs folder and select Create | Prefab. Name the prefab CucumberPatch1.
  2. Repeat step 1 and name this second prefab CucumberPatch2.
  3. In the Project panel, drag the Patch1prefab ...

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.