文档

Unity Engine

Unity Engine

Equals

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

Definition

Equals(float2)

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

Parameters

Right hand side argument to compare equality with.

Returns

Type

Description

boolThe result of the equality comparison.

Equals(Object)

Returns true if the float2 is equal to a given float2, 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.