EntityManagerDiffer
The EntityManagerDiffer is used to efficiently track changes to a given world over time.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Struct
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Implements: IDisposable
public struct EntityManagerDiffer : IDisposable
Constructors
Constructor | Description |
|---|---|
| EntityManagerDiffer(Unity.Entities.EntityManager,Unity.Collections.AllocatorManager.AllocatorHandle,Unity.Entities.EntityQueryDesc) | Constructs a new EntityManagerDiffer object. |
Methods
Method | Description |
|---|---|
| Dispose | Disposes an EntityManagerDiffer object. |
| GetChanges | Generates a detailed change set for the world. All entities to be considered for diffing must have the EntityGuid component with a unique value. |