Method CompareTo
CompareTo(ColliderKey)
Compares this ColliderKey object to another to determine their relative ordering.
Declaration
public int CompareTo(ColliderKey other)
Parameters
Type | Name | Description |
---|---|---|
ColliderKey | other | Another instance to compare. |
Returns
Type | Description |
---|---|
int | Negative if this object is less than the other, 0 if they are equal, or positive if this is greater. |