ドキュメント

Unity Engine

Download Unity

Unity Engine

CompareTo(EntityInChunk)

Compares two EntityInChunk objects to determine their relative ordering
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Parameters

The other instance to compare.

Returns

Type

Description

int-1 if this entity should be ordered earlier than
other
. 1 if this entity should be ordered later than
other
. 0 if the two entities are equivalent.