com.onlineobject.objectnet Namespace

NetworkVariable<(Of <(<'T>)>)>..::..OnValueChange Method

Sets the delegate to be called when the value of the network variable changes.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public void OnValueChange(

	Action<T, T> onValueChange

)

Parameters

onValueChange
Type: Action<(Of <(<'T, T>)>)>
The delegate to call on value change.