Implementing a Store
Retrieving products

Initialization

Your store’s Initialize method is called by Unity IAPAbbreviation of Unity In App Purchase
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;
}
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答