CompareTo(EntityInChunk)
Compares two EntityInChunk objects to determine their relative ordering
Read time 1 minuteLast updated 3 days ago
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 |