Unity IAP is a service that allows us to sell a variety of different items to players within our game projects and is currently supported by the iOS App Store, Mac App Store, Google Play, Windows Store, Amazon Appstore, and more, by default. So, using this, we can easily sell our items in many different places. We have already set up Unity Services in Chapter 5, Advertising Using Unity Ads, so this will be a lot easier to get going. Perform the following steps to add Unity IAP:
- Open the Services window by going to Window | Services or by clicking on the Cloud button in the toolbar.
Assuming that you are following along from the preceding chapter, we should already have services set up. If not, check out the Setting up Unity Ads section in Chapter 5, Advertising Using Unity Ads, for an explanation on how to do so.
- From the Services menu, scroll down to the In-App Purchasing item. You will note that it's currently off:
- Click on the In-App Purchasing button...