Method GetOrderVersion
GetOrderVersion()
Gets the order version number assigned to this chunk.
Declaration
public readonly uint GetOrderVersion()
Returns
Type | Description |
---|---|
uint | The current order version of this chunk. |
Remarks
Every time you perform a structural change affecting a chunk, the ECS framework updates the order version of the chunk to the current GlobalSystemVersion value. Structural changes include adding and removing entities, adding or removing the component of an entity, and changing the value of a shared component (except when you change the value for all entities in a chunk at the same time).