Documentation

Unity Engine


Unity Engine


PackedComponentDataChange

Represents a packed component data change within a EntityChangeSet
Read time 1 minuteLast updated 2 days ago

Definition

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

Fields

Value

Description

ComponentThe entity and component this change is targeted.
EnabledIf this component has a enable bit change. -1 = no change, 0 = false, 1 = true
OffsetThe start offset for this data change.
SizeThe size of this data change. This is be the size in EntityChangeSet.ComponentData for this entry.