Method SerializeWorld
SerializeWorld(EntityManager, BinaryWriter)
Uses a BinaryWriter to serialize a World.
Declaration
public static void SerializeWorld(EntityManager entityManager, BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
EntityManager | entityManager | The EntityManager of the serialized world. |
BinaryWriter | writer | The serialization object. |
SerializeWorld(EntityManager, BinaryWriter, out object[])
Uses a BinaryWriter to serialize a World.
Declaration
public static void SerializeWorld(EntityManager entityManager, BinaryWriter writer, out object[] referencedObjects)
Parameters
Type | Name | Description |
---|---|---|
EntityManager | entityManager | The EntityManager of the serialized world. |
BinaryWriter | writer | The serialization object. |
object[] | referencedObjects | The UnityEngine.Object references from the serialized world. |
SerializeWorld(EntityManager, BinaryWriter, NativeArray<EntityRemapInfo>)
Uses a BinaryWriter to serialize a World.
Declaration
public static void SerializeWorld(EntityManager entityManager, BinaryWriter writer, NativeArray<EntityRemapUtility.EntityRemapInfo> entityRemapInfos)
Parameters
Type | Name | Description |
---|---|---|
EntityManager | entityManager | The EntityManager of the serialized world. |
BinaryWriter | writer | The serialization object. |
NativeArray<EntityRemapUtility.EntityRemapInfo> | entityRemapInfos | The Entity remapping to apply during serialization. |
SerializeWorld(EntityManager, BinaryWriter, out object[], NativeArray<EntityRemapInfo>)
Uses a BinaryWriter to serialize a World.
Declaration
public static void SerializeWorld(EntityManager entityManager, BinaryWriter writer, out object[] referencedObjects, NativeArray<EntityRemapUtility.EntityRemapInfo> entityRemapInfos)
Parameters
Type | Name | Description |
---|---|---|
EntityManager | entityManager | The EntityManager of the serialized world. |
BinaryWriter | writer | The serialization object. |
object[] | referencedObjects | The UnityEngine.Object references from the serialized world. |
NativeArray<EntityRemapUtility.EntityRemapInfo> | entityRemapInfos | The entity remapping to apply during serialization. |