O'Reilly logo

Learning Unity iOS Game Development by Kyle Langley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the coin pickup

The coin pickup is a representation of the good type of collider the character can interact with. It will be what the player collects in the game that they can use for currency. Perform the following steps:

  1. To start with, navigate to the Assets folder, right-click on it, and select Create Folder. Name this folder Pickup.
  2. Open the Pickup folder, right-click on it, and select Import New Asset…. Navigate to the Art files for this book, and open the ChapterThree_Pickup folder, and select the Pickup_Coin.png file to import.
  3. With the Pickup_Coin.png file imported, select it. Then, in the Inspector window, select Sprite Mode as Multiple.
  4. Then, select Filter Mode as Point.
  5. Now, select Max Size as 256.
  6. Then, select Format as Truecolor ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required