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

Script language

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

ICatalogProvider

interface in UnityEngine.Purchasing.Extension

Description

ICatalogProvider can replace or add products to the product configuration at runtime.

When Purchasing is initialized, if the ConfigurationBuilder has the useCatalogProvider property set to true, the ICatalogProvider's FetchProducts method will be called before the initialization is completed.

Public Methods

FetchProductsProductDefinitions fetched by this method will add to or replace the set of ProductDefinitions supplied in the ConfigurationBuilder.

Did you find this page useful? Please give it a rating: