Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

searchContext

Search terms that the user entered in the search box on the Settings window.

Returns

Type

Description

boolTrue if the SettingsProvider matched the search term and if it should appear.