HasSearchInterest(string)
Checks whether the SettingsProvider should appear when the user types something in the Settings window search box. SettingsProvider tries to match the search terms (even partially) to any of the SettingsProvider.keywords. The search is case insensitive.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public virtual bool HasSearchInterest(string searchContext)
Parameters
Search terms that the user entered in the search box on the Settings window.
Returns
Type | Description |
|---|---|
| bool | True if the SettingsProvider matched the search term and if it should appear. |