PatchEntitiesForPrefab(EntityPatchInfo*, int, BufferEntityPatchInfo*, int, byte*, int, int, Entity*, Entity*, int)
Applies a set of patches, remapping the internal prefab entities.
Read time 1 minuteLast updated a day ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public static void PatchEntitiesForPrefab(EntityRemapUtility.EntityPatchInfo* scalarPatches, int scalarPatchCount, EntityRemapUtility.BufferEntityPatchInfo* bufferPatches, int bufferPatchCount, byte* chunkBuffer, int indexInChunk, int entityCount, Entity* remapSrc, Entity* remapDst, int remappingCount)
Parameters
The scalar patches to apply.
The number of scalar patches.
The buffer patches to apply.
The number of buffer patches.
The chunk buffer, where the patches are applied.
Theo index in chunk of the source entity to remap.
The number of entities in chunk.
The remap source array.
The remap target array.
The size of the remap arrays.