docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method Unsubscribe

    Unsubscribe(Action<T>)

    Manually unsubscribe callback from Value update event, but no protections from multiple unsubscribe calls. If unsubscribing multiple times, reference count may not be accurate.

    Declaration
    void Unsubscribe(Action<T> callback)
    Parameters
    Type Name Description
    Action<T> callback

    Callback to unregister.

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