SquareDash/Library/PackageCache/com.unity.purchasing@4.10.0/Documentation~/UnityIAPBrowsingMetadata.md
kingjuulian06 0efb85038a Arbeit 2
2023-11-21 22:03:49 +01: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);
}