CompareTo(PropertyDatabaseRecordKey)
Compares the record key to another record key.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public int CompareTo(PropertyDatabaseRecordKey other)
Parameters
A record key to compare against.
Returns
Type | Description |
|---|---|
| int | An integer representing the equality result. -1 if the current key is smaller, 0 if it is equal and 1 if it is greater than the other key. |