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.

IExtensionProvider

interface in UnityEngine.Purchasing

Description

Provides access to store-specific extended functionality.

Specific extension's interface type can be associated with a specific store type via instantiating IPurchasingModule's IPurchasingBinder.

Sample extension:

using System;
using UnityEngine;
using UnityEngine.Purchasing;

// Extends an implementing store. public interface ISampleExtension : IStoreExtension { // Implemented by associated store. void RestoreTransactions(Action<bool> callback); }

Public Methods

GetExtensionGet the store-specific extension of specified type.

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