Enum DataStorageMethod
How the host migration data is serialized for sending to the service.
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
public enum DataStorageMethod : byte
Fields
| Name | Description |
|---|---|
| Binary | Use the BinarySerialization class from the com.unity.serialization package for storing host migration data. |
| Json | Use the JsonSerialization class from the com.unity.serialization package for storing host migration data. |
| JsonMinified | Use the JsonSerialization class from the com.unity.serialization package but use the minified option to make the text more compact. |
| StreamCompressed | Serialize data with DataStreamWriter and compress into byte array. |