Class EntityRemapUtility
Utility class to remap Entity IDs.
Inheritance
EntityRemapUtility
Syntax
public static class EntityRemapUtility
Methods
Name |
Description |
AddEntityRemapping(ref NativeArray<EntityRemapUtility.EntityRemapInfo>, Entity, Entity)
|
Adds a new EntityRemapUtility.EntityRemapInfo element to a remapping array.
|
AppendBufferEntityPatches(EntityRemapUtility.BufferEntityPatchInfo*, TypeManager.EntityOffsetInfo*, Int32, Int32, Int32, Int32)
|
Adds EntityRemapUtility.BufferEntityPatchInfo elements for each of the input offsets.
|
AppendEntityPatches(EntityRemapUtility.EntityPatchInfo*, TypeManager.EntityOffsetInfo*, Int32, Int32, Int32)
|
Adds EntityRemapUtility.EntityPatchInfo elements for each of the input offsets.
|
CalculateFieldOffsetsUnmanaged(Type, out Boolean, out Boolean, out Boolean, ref NativeList<TypeManager.EntityOffsetInfo>, ref NativeList<TypeManager.EntityOffsetInfo>, ref NativeList<TypeManager.EntityOffsetInfo>, HashSet<Type>)
|
Calculates the field offsets.
|
GetTargets(out NativeArray<Entity>, NativeArray<EntityRemapUtility.EntityRemapInfo>)
|
Gets the array of Entity targets from an array of EntityRemapUtility.EntityRemapInfo.
|
HasEntityReferencesManaged(Type, out EntityRemapUtility.HasRefResult, out EntityRemapUtility.HasRefResult, Dictionary<Type, EntityRemapUtility.EntityBlobRefResult>, Int32)
|
Checks if a type has any Entity or Unity.Entities.BlobAssetReferenceData references.
|
PatchEntities(EntityRemapUtility.EntityPatchInfo*, Int32, EntityRemapUtility.BufferEntityPatchInfo*, Int32, Byte*, Int32, ref NativeArray<EntityRemapUtility.EntityRemapInfo>)
|
Applies a set of entity patches.
|
PatchEntitiesForPrefab(EntityRemapUtility.EntityPatchInfo*, Int32, EntityRemapUtility.BufferEntityPatchInfo*, Int32, Byte*, Int32, Int32, Entity*, Entity*, Int32)
|
Applies a set of patches, remapping the internal prefab entities.
|
RemapEntity(ref NativeArray<EntityRemapUtility.EntityRemapInfo>, Entity)
|
Remaps a source Entity using the EntityRemapUtility.EntityRemapInfo array.
|
RemapEntity(EntityRemapUtility.EntityRemapInfo*, Entity)
|
Remaps an entity using the EntityRemapUtility.EntityRemapInfo array.
|
RemapEntityForPrefab(Entity*, Entity*, Int32, Entity)
|
Remaps the internal Entity references when instantiating a prefab.
|