# CreateSceneResult(SearchContext, SearchProvider, GameObject)

> Creates a search item compatible with the scene provider.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Search](/engine/6000.5/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public static SearchItem CreateSceneResult(SearchContext context, SearchProvider sceneProvider, GameObject go)
```

### Parameters

**** (\[SearchContext]\(/engine/6000.5/script-reference/unityeditor/search/searchcontext)): Search context used to yield this item.**** (\[SearchProvider]\(/engine/6000.5/script-reference/unityeditor/search/searchprovider)): Source search provider. Can be the scene provider obtained with [SearchService.GetProvider](/engine/6000.5/script-reference/unityeditor/search/searchservice/getprovider.md) using the id "scene".**** (\[GameObject]\(/engine/6000.5/script-reference/unityengine/gameobject)): Scene game object instance to create the new search item.

### Returns

| Type                                                                           | Description                                                    |
| ------------------------------------------------------------------------------ | -------------------------------------------------------------- |
| [SearchItem](/engine/6000.5/script-reference/unityeditor/search/searchitem.md) | Scene search item that can be yielded by your custom provider. |
