Skip to main content

Delegate NetworkVariable\<T\>.OnValueChangedDelegate

Delegate type for value changed event

Namespace: Unity.Netcode#
Assembly: MLAPI.dll#
Syntax#
public delegate void OnValueChangedDelegate(T previousValue, T newValue);
Parameters#
TypeNameDescription
TpreviousValueThe value before the change
TnewValueThe new value