Documentation

Unity Engine

Download Unity

Unity Engine

Equals

Returns true if the int2 is equal to a given int2, false otherwise.
Read time 1 minuteLast updated 2 months ago

Definition

Equals(int2)

Returns true if the int2 is equal to a given int2, false otherwise.
public bool Equals(int2 rhs)

Parameters

rhs

Right hand side argument to compare equality with.

Returns

Type

Description

boolThe result of the equality comparison.

Equals(Object)

Returns true if the int2 is equal to a given int2, false otherwise.
public override bool Equals(object o)

Parameters

Right hand side argument to compare equality with.

Returns

Type

Description

boolThe result of the equality comparison.