Delegate AnticipatedNetworkVariable<T>.OnAuthoritativeValueChangedDelegate
Delegate for handling changes in the authoritative value
Namespace: Unity.Netcode
Assembly: Unity.Netcode.Runtime.dll
Syntax
public delegate void AnticipatedNetworkVariable<T>.OnAuthoritativeValueChangedDelegate(AnticipatedNetworkVariable<T> variable, in T previousValue, in T newValue)
Parameters
Type | Name | Description |
---|---|---|
AnticipatedNetworkVariable<T> | variable | The network variable that changed |
T | previousValue | The previous value before the change |
T | newValue | The new value after the change |