docs.unity.cn
    Show / Hide Table of Contents

    Browsing Product Metadata

    Unity IAP retrieves localized product metadata during the initialization process, which you can access via the IStoreController products field.

    foreach (var product in controller.products.all) {
        Debug.Log (product.metadata.localizedTitle);
        Debug.Log (product.metadata.localizedDescription);
        Debug.Log (product.metadata.localizedPriceString);
    }
    
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Friday, April 14, 2023
    Terms of use