flags
Search view flags used to open the Object Picker in various states.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.Search
- Assembly: UnityEngine.CoreModule
public SearchViewFlags flags { get; }
Remarks
The following example will open the Object Picker window using the compact list view and include packages results.
Examples
[SearchContext("", "adb", SearchViewFlags.Packages | SearchViewFlags.CompactView)]public MonoScript myPackageScript;