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

400 B

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