ドキュメント

Unity Engine

Download Unity

Unity Engine

CompareTo(Hash128)

Compares this hash's value to another hash's, and returns an integer that is negative if this hash's value is less, 0 if the same, or positive if more than the other hash.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public int CompareTo(Hash128 other)

Parameters

other

The hash to compare to this hash.

Returns

Type

Description

inta negative number, if this hash's value is less than the other hash's. zero, if the hash's values are the same. a positive number, if this hash's value is more than the other hash's.