Struct NetworkBehaviourOnSynchronizeComponent.SomeCustomSerializationData
Assembly: solution.dll
Syntax
public struct NetworkBehaviourOnSynchronizeComponent.SomeCustomSerializationData : INetworkSerializable
Fields
Value1
Declaration
Field Value
Value2
Declaration
Field Value
Value3
Declaration
Field Value
Value4
Declaration
Field Value
Methods
NetworkSerialize<T>(BufferSerializer<T>)
Provides bi-directional serialization to read and write the desired data to serialize this type.
Declaration
public void NetworkSerialize<T>(BufferSerializer<T> serializer) where T : IReaderWriter
Parameters
Type |
Name |
Description |
BufferSerializer<T> |
serializer |
The serializer to use to read and write the data.
|
Type Parameters
Name |
Description |
T |
Either BufferSerializerReader or BufferSerializerWriter, depending whether the serializer
is in read mode or write mode.
|
Implements