docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RemoveButton

    RemoveButton(IAPButton)

    Stop sending initialization and purchasing events to an IAPButton. Use when disabling the button, e.g. when closing a scene containing that button and wanting to prevent the user from making any IAP events for its product.

    Declaration
    [Obsolete("CodelessIAPStoreListener.RemoveButton(IAPButton button) is deprecated, please use CodelessIAPStoreListener.RemoveButton(CodelessIAPButton button) instead.", false)]
    public void RemoveButton(IAPButton button)
    Parameters
    Type Name Description
    IAPButton button

    RemoveButton(CodelessIAPButton)

    Stop sending initialization and purchasing events to an CodelessIAPButton. Use when disabling the button, e.g. when closing a scene containing that button and wanting to prevent the user from making any IAP events for its product.

    Declaration
    public void RemoveButton(CodelessIAPButton button)
    Parameters
    Type Name Description
    CodelessIAPButton button
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023