Method Serialize
Serialize(EntityManager, BinaryWriter, out ReferencedUnityObjects)
Serializes a World using a BinaryWriter.
Declaration
public static void Serialize(EntityManager manager, BinaryWriter writer, out ReferencedUnityObjects objRefs)
Parameters
Type | Name | Description |
---|---|---|
EntityManager | manager | The EntityManager of the serialized world. |
BinaryWriter | writer | The serialization object. |
ReferencedUnityObjects | objRefs | Contains the UnityEngine.Object references extracted during serialization. |
Serialize(EntityManager, BinaryWriter, out ReferencedUnityObjects, NativeArray<EntityRemapInfo>)
Serializes a World using a BinaryWriter.
Declaration
public static void Serialize(EntityManager manager, BinaryWriter writer, out ReferencedUnityObjects objRefs, NativeArray<EntityRemapUtility.EntityRemapInfo> entityRemapInfos)
Parameters
Type | Name | Description |
---|---|---|
EntityManager | manager | The EntityManager of the serialized world. |
BinaryWriter | writer | The serialization object. |
ReferencedUnityObjects | objRefs | Contains the UnityEngine.Object references extracted during serialization. |
NativeArray<EntityRemapUtility.EntityRemapInfo> | entityRemapInfos | Entity remapping which is applied during serialization. |