Version: 2022.3

SearchService.OrderedProviders

切换到手册
public static IEnumerable<SearchProvider> OrderedProviders ;

描述

Returns the list of search providers sorted by priority.

// Print providers by their search priority when a query is executed.
foreach (var provider in SearchService.OrderedProviders)
    Debug.Log($"[{provider.priority}] {provider.name} ({provider.id})");