Simple IAP System  5.0
Public Member Functions | List of all members
IAPListener

Script that listens to purchases and other IAP events: here we tell our app what to do when these events happen. More...

Inheritance diagram for IAPListener:

Public Member Functions

void HandleSuccessfulPurchase (string productID)
 Handle the completion of purchases, be it for products or virtual currency. Most of the IAP logic is handled internally already, such as adding products or currency to the inventory. However, this is the spot for you to implement your custom game logic for instantiating in-game products etc. More...
 
void HandleSuccessfulConsume (string productID)
 Handle the completion of consumes, be it for consumable or non-consumable products. This is the spot for you to implement your custom game logic for activating in-game products etc. More...
 

Detailed Description

Script that listens to purchases and other IAP events: here we tell our app what to do when these events happen.

Member Function Documentation

void HandleSuccessfulConsume ( string  productID)

Handle the completion of consumes, be it for consumable or non-consumable products. This is the spot for you to implement your custom game logic for activating in-game products etc.

void HandleSuccessfulPurchase ( string  productID)

Handle the completion of purchases, be it for products or virtual currency. Most of the IAP logic is handled internally already, such as adding products or currency to the inventory. However, this is the spot for you to implement your custom game logic for instantiating in-game products etc.


The documentation for this class was generated from the following file: