Interface INetworkSerializable
Interface for implementing custom serializable types.
#
Namespace: Unity.Netcode#
Assembly: MLAPI.dll#
Syntax#
Methods#
NetworkSerialize\<T>(BufferSerializer\<T>)Provides bi-directional serialization to read and write the desired data to serialize this type.
#
Declaration#
ParametersType | Name | Description |
---|---|---|
BufferSerializer\<T> | serializer | The serializer to use to read and write the data. |
#
Type ParametersName | Description |
---|---|
T | Either BufferSerializerReader or BufferSerializerWriter, depending whether the serializer is in read mode or write mode. |