PatchEntities(EntityPatchInfo*, int, BufferEntityPatchInfo*, int, byte*, int, ref NativeArray<EntityRemapInfo>)
Applies a set of entity patches.
阅读时间1 分钟最后更新于 19 天前
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.