CompareTo
Check if two SearchItems have the same ID.
阅读时间1 分钟最后更新于 1 个月前
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. |