Version: 2018.2
public void OnDeserialize (Networking.NetworkReader reader, bool initialState);

Parameters

readerReader to read from the stream.
initialStateTrue if being sent initial state.

Description

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