CreateSceneResult(SearchContext, SearchProvider, GameObject)
Creates a search item compatible with the scene provider.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public static SearchItem CreateSceneResult(SearchContext context, SearchProvider sceneProvider, GameObject go)
Parameters
Search context used to yield this item.
Source search provider. Can be the scene provider obtained with SearchService.GetProvider using the id "scene".
Scene game object instance to create the new search item.
Returns
Type | Description |
|---|---|
| SearchItem | Scene search item that can be yielded by your custom provider. |