Version: 2021.3
public void SetFilter (string providerId, bool isEnabled);

参数

providerId ID of the search provider. See SearchProvider.name.id.
isEnabled If true, enables the search provider to perform a query.

描述

Enables or disables a single search provider. A disabled search provider won't be asked to provide items to resolve the query.