Method GetCombinedComponentOrderVersion
GetCombinedComponentOrderVersion()
This method is obsolete. Use GetComponentOrderVersion<T>() instead.
Declaration
[Obsolete("This function is deprecated, and will be removed in a future release. Use the new variant instead, with includeEntityType set to true.")]
public int GetCombinedComponentOrderVersion()
Returns
Type | Description |
---|---|
int | Returns the sum of the order versions of all components required by this query, including the Entity component type implicitly required by all queries. |
GetCombinedComponentOrderVersion(bool)
This method computes the sum of the order versions for all components required by this query.
Declaration
public int GetCombinedComponentOrderVersion(bool includeEntityType)
Parameters
Type | Name | Description |
---|---|---|
bool | includeEntityType | If true, the implicit Entity component implicitly required by all queries is included for the purposes of this calculation. This is not generally desirable, as adding or removing entities to any archetype would affect the combined order versions of all queries. |
Returns
Type | Description |
---|---|
int | Returns the sum of the order versions of all components required by this query. |