ドキュメント

Unity Engine

Unity Engine

Equals

Evaluates if a vector and obejct are equal to each other.
読み終わるまでの所要時間 1 分最終更新 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.