Purchasing In-Game Items and Advertisements

In this chapter, we will continue with building our shop scene by adding functionality such as introducing the player's in-game currency and looking at how to deduct and increase it. We will make great use of the Unity Monetization package, which is free to download from the Asset store.

Monetization is when a game is free to download (typically titled free-to-play) and the developer encourages or offers the player to buy items, such as the latest weapon, extra art modification visuals, and more, with the player's real money (with a bank/debit card). Another way of creating profit from a free-to-play game is by offering adverts that are incorporated into the game. For example, if the player wants ...

Get Unity Certified Programmer: Exam Guide 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.