Documentation

Unity Engine


Unity Engine


GetCombinedComponentOrderVersion

This method is obsolete. Use EntityManager.GetComponentOrderVersion instead.
Read time 1 minuteLast updated a day ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

GetCombinedComponentOrderVersion()

This method is obsolete. Use EntityManager.GetComponentOrderVersion instead.
Warning
Deprecated. 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

intReturns 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.
public int GetCombinedComponentOrderVersion(bool includeEntityType)

Parameters

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

intReturns the sum of the order versions of all components required by this query.