文档

Unity Engine

Download Unity

Unity Engine

CompareQuery(in EntityQueryBuilder)

Compares a query description to the description defining this EntityQuery.
阅读时间1 分钟最后更新于 20 天前

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.