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.

IStore.Initialize

public void Initialize(Purchasing.Extension.IStoreCallback callback);

Parameters

callback Used by stores to interact with Unity Purchasing.

Description

Initialize the store.

The supplied callback is used by stores to notify Unity IAP of purchasing related events.