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

Script language

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

ProductCollection.WithID

public Purchasing.Product WithID(string id);

Parameters

id The store-independent ID.

Returns

Product A product reference, if found. Otherwise null.

Description

Get the product with store-independent Unity IAP ID.