Documentation

Unity Engine


Unity Engine


EntityReferenceChange

Represents an entity reference that was changed within a EntityChangeSet This structure references the entity by it's unique EntityGuid.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Struct
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public struct EntityReferenceChange

Remarks

Multiple patches could exist for the same component with different offsets.

Fields

Value

Description

ComponentThe entity and component this patched is targeted at.
OffsetThe field offset for the Entity field.
ValueThe entity that the field should reference. Identified by the unique EntityGuid.