docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Initialization

    Your store’s 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;
    }
    
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)