docs.unity3d.com
Search Results for

    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
    Assembly: Unity.Purchasing.Codeless.dll
    Syntax
    public enum IAPButton.ButtonType

    Fields

    Name Description
    Purchase

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

    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.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)