Version: 2019.1 (switch to 2018.3 or 2017.4)
Implementing a Store
Retrieving products
Other Versions

Initialization

Your store’s Initialize method is called by Unity IAPSee IAP More info
See in Glossary
with an IStoreCallback that your store uses to communicate back to Unity IAP asynchronously.

void Initialize(IStoreCallback callback) {
    // Keep a reference to the callback for communicating with Unity IAP.
    this.callback = callback;
}

Did you find this page useful? Please give it a rating:

Implementing a Store
Retrieving products