Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Equals

Returns true if the objects are equal.
Read time 1 minuteLast updated 10 days ago

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

The other object identifier to check equality with.

Returns

Type

Description

boolReturns true if all fields are equal.

Remarks

Internal use only. See ObjectIdentifier.