Documentation

Unity Engine


Unity Engine


Equals

Compare this instance to another EntityQueryMask for equality.
Read time 1 minuteLast updated 2 days ago

Definition

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

Equals(EntityQueryMask)

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

Parameters

The instance to compare against.

Returns

Type

Description

boolTrue if both masks refer to the same archetype set within the same world, or false otherwise.

Equals(Object)

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

Parameters

The object to compare against.

Returns

Type

Description

boolTrue if
obj
is an EntityQueryMask that refers to the same archetype set within the same world, or false otherwise.