文档

Unity Engine

Unity Engine

Equals

Compare to another object for equality.
阅读时间1 分钟最后更新于 19 天前

Definition

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

Equals(Object)

Compare to another object for equality.
public override bool Equals(object obj)

Parameters

The object to compare

Returns

Type

Description

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

Equals(EntityQueryDesc)

Compare to another instance for equality.
public bool Equals(EntityQueryDesc other)

Parameters

The other instance to compare.

Returns

Type

Description

boolTrue if the two instances are equal, or false if not.