Version: 2017.3 (switch to 2017.4)
Initialization
Initiating Purchases
Other Versions

Browsing Product Metadata

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

foreach (var product in controller.products.all) {
    Debug.Log (product.metadata.localizedTitle);
    Debug.Log (product.metadata.localizedDescription);
    Debug.Log (product.metadata.localizedPriceString);
}
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答