docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate AnticipatedNetworkVariable<T>.OnAuthoritativeValueChangedDelegate

    Delegate for handling changes in the authoritative value

    Namespace: Unity.Netcode
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    public delegate void AnticipatedNetworkVariable<T>.OnAuthoritativeValueChangedDelegate(AnticipatedNetworkVariable<T> variable, in T previousValue, in T newValue)
    Parameters
    Type Name Description
    AnticipatedNetworkVariable<T> variable

    The network variable that changed

    T previousValue

    The previous value before the change

    T newValue

    The new value after the change

    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)