AddItemFavorite(SearchItem)
Mark a search item as a favorite.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public static void AddItemFavorite(SearchItem item)
Parameters
Item to be marked as a favorite.
Remarks
Favorite items always show up first in the search view. These items are assigned a very low score, making them ordered first by the system.