PatchEntities(EntityPatchInfo*, int, BufferEntityPatchInfo*, int, byte*, int, ref NativeArray<EntityRemapInfo>)
Applies a set of entity patches.
Read time 1 minuteLast updated 19 hours ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
PatchEntities(EntityPatchInfo*, int, BufferEntityPatchInfo*, int, byte*, int, NativeArray<EntityRemapInfo>)
public static void PatchEntities(EntityRemapUtility.EntityPatchInfo* scalarPatches, int scalarPatchCount, EntityRemapUtility.BufferEntityPatchInfo* bufferPatches, int bufferPatchCount, byte* chunkBuffer, int entityCount, ref NativeArray<EntityRemapUtility.EntityRemapInfo> remapping)
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.
The number of entities in the chunk.
The remapping array.