docs.unity.cn
    Show / Hide Table of Contents

    Enum IAPButton.ButtonType

    The type of this button, can be either a purchase or a restore button.

    Namespace: UnityEngine.Purchasing
    Syntax
    public enum ButtonType

    Fields

    Name Description Value
    Purchase

    This button will display localized product title and price. Clicking will trigger a purchase.

    0
    Restore

    This button will display a static string for restoring previously purchased non-consumable and subscriptions. Clicking will trigger this restoration process, on supported app stores.

    1
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 20 April 2021