ドキュメント

Unity Engine

Download Unity

Unity Engine

CompareTo(EntityGuid)

Compares an EntityGuid against a given one to find their sort order.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Parameters

The other EntityGuid to compare to

Returns

Type

Description

intReturns -1 if this EntityGuid goes first in the sort order, or 1 if the other should goes first in the sort order. Otherwise returns 0 if they are equal.