文档

Unity Engine

Unity Engine

Equals

Returns true if the int2 is equal to a given int2, false otherwise.
阅读时间1 分钟最后更新于 1 个月前

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.