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 |
---|---|
Add |
A set of all archetype created in this change-set. |
Add |
A set of all component additions in this change-set. |
Blob |
The payload for all blob assets in this change set. |
Blob |
A packed set of all blob asset references to patch. |
Component |
Data payload for all component changes specified in Set |
Created |
A set of all blob asset creations in this change set. |
Created |
Number of entities from the start of Entities that should be considered as created. |
Destroyed |
A set of all blob assets destroyed in this change set. Identified by the content hash. |
Destroyed |
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. |
Entity |
A packed set of all entity references to patch. |
Linked |
A set of all linked entity group additions. |
Linked |
A set of all linked entity group removals. |
Name |
Number of entities of which names changed in Name |
Name |
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. |
Remove |
A set of all component removals in this change-set. |
Set |
A set of all component data modifications in this change-set. |
Set |
A set of all managed component data changes. |
Set |
A set of all shared component data changes. |
Type |
A packed array of all types in this change-set. |
Unmanaged |
All unmanaged shared data are stored here |
Properties
Name | Description |
---|---|
Has |
Returns true if this object contains any change. |
Is |
Returns true if this object is allocated. |
Methods
Name | Description |
---|---|
Dispose() | Disposes the memory used by the change set |