文档

Unity Engine

Unity Engine

Equals

Compare two queries for equality.
阅读时间1 分钟最后更新于 19 天前

Definition

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

Equals(EntityQuery)

Compare two queries for equality.
public bool Equals(EntityQuery other)

Parameters

The other query

Returns

Type

Description

boolTrue if the two queries are equivalent, or false if not.

Equals(Object)

Compare a query to another object (assumed to be a boxed EntityQuery).
[ExcludeFromBurstCompatTesting("Takes managed object")]public override bool Equals(object obj)

Parameters

The other query.

Returns

Type

Description

boolTrue if
obj
is an equivalent query, or false if not.