ドキュメント

Unity Engine

Download Unity

Unity Engine

Equals

Compare this instance to another EntityQueryMask for equality.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.