无特定搜索选项。结果将不会进行排序。
using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEditor.Search; using UnityEngine; public class SearchFlags_None { [MenuItem("Examples/SearchFlags/None")] public static void RequestAll() { SearchService.Request("t:Script", (SearchContext context, IList<SearchItem> items) => { foreach (var item in items) Debug.Log(item); }, SearchFlags.None); } }