minesweeper_game/Library/PackageCache/com.unity.purchasing@649c6c7b3b1b/Documentation~/UnityIAPIStoreInitialization.md
2025-03-15 14:30:26 -04:00

348 B
Raw Blame History

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;
}