文档

Unity Engine

Unity Engine

Equals

Returns true if the objects are equal.
阅读时间1 分钟最后更新于 1 个月前

Definition

Equals(Object)

Returns true if the objects are equal.
public override bool Equals(object obj)

Parameters

The object to check equality with.

Returns

Type

Description

boolReturns true if all fields are equal.

Remarks

Internal use only. See ObjectIdentifier.

Equals(ObjectIdentifier)

Returns true if the objects are equal.
public bool Equals(ObjectIdentifier other)

Parameters

Returns

Type

Description

boolReturns true if all fields are equal.

Remarks

Internal use only. See ObjectIdentifier.