文档

Unity Engine

Download Unity

Unity Engine

Equals

Checks if two objects are EntityGuid instances and if they are equal.
阅读时间1 分钟最后更新于 19 天前

Definition

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

Equals(Object)

Checks if two objects are EntityGuid instances and if they are equal.
public override bool Equals(object obj)

Parameters

An object

Returns

Type

Description

boolTrue if
obj
is an
EntityGuid
instance that contains the same opaque bits.

Equals(EntityGuid)

Checks if two EntityGuid instances are equal.
public bool Equals(EntityGuid other)

Parameters

An EntityGuid to compare with

Returns

Type

Description

boolTrue if
other
contains the same opaque bits.