CompareTo
Check if two SearchItems have the same ID.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
CompareTo(SearchItem)
Check if two SearchItems have the same ID.
public int CompareTo(SearchItem other)
Parameters
Another SearchItem to compare.
Returns
Type | Description |
|---|---|
| int | Returns 0 if SearchItems have the same ID. |
CompareTo(Object)
Check if two SearchItems have the same ID.
public int CompareTo(object other)
Parameters
Another SearchItem to compare.
Returns
Type | Description |
|---|---|
| int | Returns 0 if SearchItems have the same ID. |