{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method UnregisterValueChangingCallback | App UI | 0.6.5
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method UnregisterValueChangingCallback

    UnregisterValueChangingCallback<TValueType>(INotifyValueChanging<TValueType>, EventCallback<ChangingEvent<TValueType>>)

    Unregister a callback which has been invoked when the UI component's value was changing.

    Declaration
    [Preserve]
    public static bool UnregisterValueChangingCallback<TValueType>(this INotifyValueChanging<TValueType> control, EventCallback<ChangingEvent<TValueType>> callback)
    Parameters
    Type Name Description
    INotifyValueChanging<TValueType> control

    The UI component.

    EventCallback<ChangingEvent<TValueType>> callback

    The callback.

    Returns
    Type Description
    bool

    True if the UI component can handle callbacks, False otherwise.

    Type Parameters
    Name Description
    TValueType

    The type of value handled by the UI component.

    In This Article
    Back to top
    Copyright © 2023 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)