Struct NetworkBehaviourOnSynchronizeComponent.SomeCustomSerializationData
Inherited Members
Namespace: Unity.Netcode.RuntimeTests
Syntax
public struct SomeCustomSerializationData : INetworkSerializable
Fields
Value1
Declaration
public uint Value1
Field Value
Type | Description |
---|---|
UInt32 |
Value2
Declaration
public bool Value2
Field Value
Type | Description |
---|---|
Boolean |
Value3
Declaration
public long Value3
Field Value
Type | Description |
---|---|
Int64 |
Value4
Declaration
public float Value4
Field Value
Type | Description |
---|---|
Single |
Methods
NetworkSerialize<T>(BufferSerializer<T>)
Declaration
public void NetworkSerialize<T>(BufferSerializer<T> serializer)
where T : IReaderWriter
Parameters
Type | Name | Description |
---|---|---|
BufferSerializer<T> | serializer |
Type Parameters
Name | Description |
---|---|
T |