Setting up Unity IAP
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 7, 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 | Package Manager, and then click on the Services button on the top toolbar.
- From there, scroll down to the In App Purchasing item and then click on the Install button.
Figure 6.1: The In App Purchasing option from Package Manager
- A window will pop up asking for you to confirm that you would like to activate the Purchasing service package. Click on the Ok button.