Method SerializeNetworkSerializable
SerializeNetworkSerializable<T>(ref T)
Read or write a NetworkSerializable value. SerializeValue() is the preferred method to do this - this is provided for backward compatibility only.
Declaration
public void SerializeNetworkSerializable<T>(ref T value) where T : INetworkSerializable, new()
Parameters
Type | Name | Description |
---|---|---|
T | value | The values to read/write |
Type Parameters
Name | Description |
---|---|
T | The network serializable type |