docs.unity.cn
    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
    Generated by DocFX
    on Friday, April 21, 2023
    Terms of use