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

    Interface IUDPExtensions

    Common interface for all UDP store purchasing extensions.

    Namespace: UnityEngine.Purchasing
    Syntax
    public interface IUDPExtensions : IStoreExtension

    Methods

    EnableDebugLog(Boolean)

    Enable debug log for UDP.

    Declaration
    void EnableDebugLog(bool enable)
    Parameters
    Type Name Description
    Boolean enable

    Whether or not the logging is to be enabled.

    GetLastInitializationError()

    Return the UDP initialization error.

    Declaration
    string GetLastInitializationError()
    Returns
    Type Description
    String

    The error as a string

    GetUserInfo()

    Some stores return user information after initialization.

    Declaration
    object GetUserInfo()
    Returns
    Type Description
    Object

    UserInfo, which may be null

    RegisterPurchaseDeferredListener(Action<Product>)

    Called when a processing a purchase from UDP that is in the "OnPurchasePending" state.

    Declaration
    void RegisterPurchaseDeferredListener(Action<Product> action)
    Parameters
    Type Name Description
    Action<Product> action

    Action will be called with the product that is in the "OnPurchasePending" state.

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