Incorporating custom assets in our game

So far in this chapter, we have created our own game asset and downloaded an asset package from the Unity Asset Store. In this section, we will download assets from the publisher's companion website for use in our game.

Go through the following steps to obtain the asset packages that were created specifically for our Cucumber Beetle game:

  1. Navigate to the publisher's website and download the following files:
    • CherriesAndTree.unitypackage
    • CucumberAndPatches.unitypackage
  2. From the top menu, select Assets | Import PackageCustom Package and navigate to the CherriesAndTree.unitypackage file. Click the Open button.
  3. As shown in the following screenshot, the Import Unity Package dialog window will have the necessary files for our Cherry Tree and the cherries. Click the Import button:

Next, we will import the cucumber and two Cucumber Patches. These are contained in the CucumberAndPatches.unitypackage asset package. Follow the preceding steps to import this asset package into your game.

As you can see in the following screenshot, there are several files in this asset package relating to the cucumber and both Cucumber Patches: 

In Chapter 7, Implementing Our Player Character, and Chapter 8, Implementing Our Non-Player Character, you will download additional asset packages.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset