Documentation

Unity Engine


Unity Engine


Equals

Compare to another object for equality.
Read time 1 minuteLast updated a day ago

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.