Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

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

ProductCollection

class in UnityEngine.Purchasing

Description

Provides helper methods to retrieve products by id.

Supports retrieving by both store independent and store-specific product id. Retrieves products registered with Unity IAP.

Variables

allAll products.

Public Functions

WithIDGet the product with store-independent Unity IAP ID.
WithStoreSpecificIDGet the product with the store-specific ID.