文档

Unity Engine

Unity Engine

Equals

Determines if an object is equal to this vector.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Equals(Object)

Determines if an object is equal to this vector.
public override readonly 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 readonly bool Equals(Vector3Int other)

Parameters

The vector to compare.

Returns

Type

Description

boolTrue if the vectors are equal.

Equals(Vector3Int)

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

Parameters

The vector to compare.

Returns

Type

Description

boolTrue if the vectors are equal.