This version of Unity is unsupported.
Method group is Obsolete

NetworkBehaviour.OnDeserialize

Obsolete The high level API classes are deprecated and will be removed in the future.

Declaration

public void OnDeserialize(NetworkReader reader, bool initialState);

Parameters

reader Reader to read from the stream.
initialState True if being sent initial state.

Description

Virtual function to override to receive custom serialization data. The corresponding function to send serialization data is OnSerialize().