docs.unity3d.com
    目次を表示する/隠す

    Class UnityPurchasing

    The core abstract implementation for Unity Purchasing.

    Inheritance
    Object
    UnityPurchasing
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Purchasing
    Syntax
    public abstract class UnityPurchasing

    Methods

    ClearTransactionLog()

    This is useful in certain test scenarios, such as repeatedly testing an App's behaviour when purchases are restored.

    This is a static method since developers may wish to clear the log before initialising IAP.

    Declaration
    public static void ClearTransactionLog()

    Initialize(IStoreListener, ConfigurationBuilder)

    The main initialization call for Unity Purchasing.

    Declaration
    public static void Initialize(IStoreListener listener, ConfigurationBuilder builder)
    Parameters
    Type Name Description
    IStoreListener listener

    The IStoreListener to receive callbacks for future transactions

    ConfigurationBuilder builder

    The ConfigurationBuilder containing the product definitions mapped to stores

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)