Method ReadNetworkSerializable
ReadNetworkSerializable<T>(out T)
Read an INetworkSerializable
Declaration
public void ReadNetworkSerializable<T>(out T value) where T : INetworkSerializable, new()
Parameters
| Type | Name | Description |
|---|---|---|
| T | value | INetworkSerializable instance |
Type Parameters
| Name | Description |
|---|---|
| T |
Exceptions
| Type | Condition |
|---|---|
| NotImplementedException |
ReadNetworkSerializable<T>(out T[])
Read an array of INetworkSerializables
Declaration
public void ReadNetworkSerializable<T>(out T[] value) where T : INetworkSerializable, new()
Parameters
| Type | Name | Description |
|---|---|---|
| T[] | value | INetworkSerializable instance |
Type Parameters
| Name | Description |
|---|---|
| T | the array to read the values of type |
Exceptions
| Type | Condition |
|---|---|
| NotImplementedException |
ReadNetworkSerializable<T>(out NativeArray<T>, Allocator)
Read a NativeArray of INetworkSerializables
Declaration
public void ReadNetworkSerializable<T>(out NativeArray<T> value, Allocator allocator) where T : unmanaged, INetworkSerializable
Parameters
| Type | Name | Description |
|---|---|---|
| NativeArray<T> | value | INetworkSerializable instance |
| Allocator | allocator | The allocator to use to construct the resulting NativeArray |
Type Parameters
| Name | Description |
|---|---|
| T | the array to read the values of type |
Exceptions
| Type | Condition |
|---|---|
| NotImplementedException |