CompareTo(EntityGuid)
Compares an EntityGuid against a given one to find their sort order.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public int CompareTo(EntityGuid other)
Parameters
The other EntityGuid to compare to
Returns
Type | Description |
|---|---|
| int | Returns -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. |