文档

Unity Engine

Download Unity

Unity Engine

Equals

Reports whether this EntityManager references the same manager as another instance.
阅读时间1 分钟最后更新于 19 天前

Definition

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

Equals(EntityManager)

Reports whether this EntityManager references the same manager as another instance.
public bool Equals(EntityManager other)

Parameters

The object to compare.

Returns

Type

Description

boolTrue, if the
other
parameter is an EntityManager instance that points to the same instance as this.

Equals(Object)

Reports whether this EntityManager references the same manager as another object.
[ExcludeFromBurstCompatTesting("Takes managed object")]public override bool Equals(object obj)

Parameters

The object to compare.

Returns

Type

Description

boolTrue, if the
obj
parameter is an EntityManager instance that points to the same instance as this.