Skip to main content

Unity.Netcode.NetworkVariable-1.OnValueChangedDelegate

Delegate type for value changed event

Syntax#
public delegate void OnValueChangedDelegate(T previousValue, T newValue);
Parameters#
TypeNameDescription
TpreviousValueThe value before the change
TnewValueThe new value