Documentation

Unity Engine

Download Unity

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 a month 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.