Struct EntityReferenceChange
Represents an entity reference that was changed within a EntityChangeSet
This structure references the entity by it's unique EntityGuid.
Namespace: Unity.Entities
Syntax
public struct EntityReferenceChange
Remarks
Multiple patches could exist for the same component with different offsets.
Fields
Component
The entity and component this patched is targeted at.
Declaration
public PackedComponent Component
Field Value
Type | Description |
---|---|
PackedComponent |
Offset
The field offset for the Entity field.
Declaration
public int Offset
Field Value
Type | Description |
---|---|
System.Int32 |
Value
The entity that the field should reference. Identified by the unique EntityGuid.
Declaration
public EntityGuid Value
Field Value
Type | Description |
---|---|
EntityGuid |