docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate NetworkVariableSerialization<T>.EqualsDelegate

    Delegate for comparing two values of type T for equality

    Namespace: Unity.Netcode
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    public delegate bool NetworkVariableSerialization<T>.EqualsDelegate(ref T a, ref T b)
    Parameters
    Type Name Description
    T a

    First value to compare

    T b

    Second value to compare

    Returns
    Type Description
    bool

    True if the values are equal, 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)