Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ProductMetadata

class in UnityEngine.Purchasing

Description

Localized information about a product, retrieved from a store.

Properties

isoCurrencyCodeProduct currency in ISO 4217 format; e.g. GBP or USD.
localizedDescriptionLocalized product description as retrieved from the store subsystem; e.g. Apple or Google.
localizedPrice Decimal product price denominated in the currency indicated by isoCurrencySymbol.
localizedPriceStringLocalized price string.
localizedTitleLocalized product title as retrieved from the store subsystem; e.g. Apple or Google.

Constructors

ProductMetadataCreate a ProductMetadata.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答