Version: 2017.1

IExtensionProvider

interface in UnityEngine.Purchasing

Switch to Manual

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 Functions

GetExtensionGet the store-specific extension of specified type.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961