lib_unity_purchase/Documentation~/UnityIAPIStoreInitializatio...

12 lines
348 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

Initialization
==============
Your stores ``Initialize`` method is called by Unity IAP 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;
}
````