ドキュメント

Unity Engine

Unity Engine

Equals(GlobalObjectId)

Checks if this unique object identifier and another are equal.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public bool Equals(GlobalObjectId other)

Parameters

The other GlobalObjectId to compare with this instance.

Returns

Type

Description

boolReturns
true
if the two instances of GlobalObjectId are value equivalent. Otherwise, returns
false
.

Remarks

This method performs a value equality check. It returns true if the values of every property on this
GlobalObjectId
match the values of the equivalent properties on the
GlobalObjectId
supplied as a parameter. Any two instances of
GlobalObjectId
that are value equivalent must by definition identify the same object.
Additional Resources: GlobalObjectId.CompareTo