docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate NetworkVariable<T>.CheckExceedsDirtinessThresholdDelegate

    Delegate that determines if the difference between two values exceeds a threshold for network synchronization

    Namespace: Unity.Netcode
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    public delegate bool NetworkVariable<T>.CheckExceedsDirtinessThresholdDelegate(in T previousValue, in T newValue)
    Parameters
    Type Name Description
    T previousValue

    The previous value to compare against

    T newValue

    The new value to compare

    Returns
    Type Description
    bool

    True if the difference exceeds the threshold and should be synchronized, false otherwise

    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)