Documentation

Unity Engine


Unity Engine


CompareQuery(in EntityQueryBuilder)

Compares a query description to the description defining this EntityQuery.
Read time 1 minuteLast updated a day ago

Definition

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

CompareQuery(EntityQueryBuilder)

public bool CompareQuery(in EntityQueryBuilder queryDesc)

Parameters

The query description to compare.

Returns

Type

Description

boolTrue, if the query description contains the same components with the same read/write access modifiers as this EntityQuery.

Remarks

The
All
,
Any
, and
None
components in the query description are compared to the corresponding list in this EntityQuery.