Documentation

Unity Engine


Unity Engine


GetChanges(EntityManagerDifferOptions, AllocatorHandle)

Generates a detailed change set for the world. All entities to be considered for diffing must have the EntityGuid component with a unique value.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public EntityChanges GetChanges(EntityManagerDifferOptions options, AllocatorManager.AllocatorHandle allocator)

Parameters

A set of options which can be toggled.

The allocator to use for the results object.

Returns

Type

Description

EntityChangesA set of changes for the world since the last fast-forward.

Remarks

The resulting EntityChanges must be disposed when no longer needed.