This attribute can be attached to a component object field in order to have the ObjectField use the advanced Object Picker.
[SearchContext("t:mesh is:nested mesh", "asset")] public UnityEngine.Object assetMesh;
flags | Search view flags used to open the Object Picker in various states. |
instantiableProviders | Search provider concrete types that will be instantiated and assigned to the Object Picker search context. |
providerIds | A list of Search Provider IDs that will be used to create the search context. |
query | Initial search query used to open the Object Picker window. |
SearchContextAttribute | Search context constructor used to add some search context to an object field. |
order | 可选字段,用于指定多个 DecorationDrawer 应采用的绘制顺序。 |