기술 자료

Unity Engine

Unity Engine

Equals

Evaluates if a vector and obejct are equal to each other.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

Equals(Object)

Evaluates if a vector and obejct are equal to each other.
public override readonly bool Equals(object other)

Parameters

other

The object to compare.

Returns

Type

Description

boolTrue if the object is equal to the vector.

Equals(Vector2Int)

Evaluates if two vectors are equal to each other.
public readonly bool Equals(Vector2Int other)

Parameters

The vector to compare.

Returns

Type

Description

boolTrue if the vectors are equal.

Equals(Vector2Int)

Evaluates if two vectors are equal to each other.
public readonly bool Equals(in Vector2Int other)

Parameters

The vector to compare.

Returns

Type

Description

boolTrue if the vectors are equal.