Field Version
The generational version of the entity.
Namespace: Unity.Entities
Assembly: Unity.Entities.dll
Syntax
public int Version
Returns
Type | Description |
---|---|
int | Used to determine whether this Entity object still identifies an existing entity. |
Remarks
The Version number can, theoretically, overflow and wrap around within the lifetime of an application. For this reason, you cannot assume that an Entity instance with a larger Version is a more recent incarnation of the entity than one with a smaller Version (and the same Index).