docs.unity3d.com
    Show / Hide Table of Contents

    Delegate NetworkVariable<T>.OnValueChangedDelegate

    Delegate type for value changed event

    Namespace: Unity.Netcode
    Syntax
    public delegate void OnValueChangedDelegate(T previousValue, T newValue);
    Parameters
    Type Name Description
    T previousValue

    The value before the change

    T newValue

    The new value

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 26 October 2023