기술 자료

Unity Engine

Unity Engine

Equals

Determines if an object is equal to this vector.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

Equals(Object)

Determines if an object is equal to this vector.
public override bool Equals(object other)

Parameters

other

The object to compare.

Returns

Type

Description

boolTrue if the object is equal to this vector.

Equals(Vector3Int)

Determines if a vector is equal to this vector.
public bool Equals(Vector3Int other)

Parameters

The vector to compare.

Returns

Type

Description

boolTrue if the vectors are equal.