Struct EntityChangeSet
An atomic package of changes to entity and component data.
Namespace: Unity.Entities
Assembly: solution.dll
Syntax
public readonly struct EntityChangeSet
  Constructors
Fields
| Name | Description | 
|---|---|
| AddArchetypes | A set of all archetype created in this change-set.  | 
      
| AddComponents | A set of all component additions in this change-set.  | 
      
| BlobAssetData | The payload for all blob assets in this change set.  | 
      
| BlobAssetReferenceChanges | A packed set of all blob asset references to patch.  | 
      
| ComponentData | Data payload for all component changes specified in SetComponents  | 
      
| CreatedBlobAssets | A set of all blob asset creations in this change set.  | 
      
| CreatedEntityCount | Number of entities from the start of Entities that should be considered as created.  | 
      
| DestroyedBlobAssets | A set of all blob assets destroyed in this change set. Identified by the content hash.  | 
      
| DestroyedEntityCount | Number of entities from the end of Entities that should be considered as destroyed.  | 
      
| Entities | A packed array of all entities in this change-set.  | 
      
| EntityReferenceChanges | A packed set of all entity references to patch.  | 
      
| LinkedEntityGroupAdditions | A set of all linked entity group additions.  | 
      
| LinkedEntityGroupRemovals | A set of all linked entity group removals.  | 
      
| NameChangedCount | Number of entities of which names changed in NameChangedEntityGuids in this change-set, not including created and destroyed entities.  | 
      
| NameChangedEntityGuids | Entities of which names changed in this change-set, not including created and destroyed entities.  | 
      
| Names | Changed names including created and destroyed entities in this change-set.  | 
      
| RemoveComponents | A set of all component removals in this change-set.  | 
      
| SetComponents | A set of all component data modifications in this change-set.  | 
      
| SetManagedComponents | A set of all managed component data changes.  | 
      
| SetSharedComponents | A set of all shared component data changes.  | 
      
| TypeHashes | A packed array of all types in this change-set.  | 
      
| UnmanagedSharedComponentData | All unmanaged shared data are stored here  | 
      
Properties
| Name | Description | 
|---|---|
| HasChanges | Returns true if this object contains any change.  | 
      
| IsCreated | Returns true if this object is allocated.  | 
      
Methods
| Name | Description | 
|---|---|
| Dispose() | Disposes the memory used by the change set  |