Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateSceneResult(SearchContext, SearchProvider, GameObject)

Creates a search item compatible with the scene provider.
Read time 1 minuteLast updated 12 days ago

Definition

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

Parameters

Search context used to yield this item.

sceneProvider

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

SearchItemScene search item that can be yielded by your custom provider.