Class SceneProvider
Inheritance
SceneProvider
Syntax
public class SceneProvider : SearchProvider
Constructors
SceneProvider(String, String, String)
Declaration
public SceneProvider(string providerId, string filterId, string displayName)
Parameters
Fields
m_HierarchyChanged
Declaration
protected bool m_HierarchyChanged
Field Value
Properties
buildKeywordComponents
Declaration
protected Func<GameObject, string[]> buildKeywordComponents { get; set; }
Property Value
fetchGameObjects
Declaration
protected Func<GameObject[]> fetchGameObjects { get; set; }
Property Value
| Type |
Description |
| Func<GameObject[]> |
|
Methods
CreateActionHandlers(String)
Declaration
public static IEnumerable<SearchAction> CreateActionHandlers(string providerId)
Parameters
| Type |
Name |
Description |
| String |
providerId |
|
Returns
FetchGameObjects()
Declaration
protected GameObject[] FetchGameObjects()
Returns
| Type |
Description |
| GameObject[] |
|
GetHierarchyAssetPath(GameObject, Boolean)
Declaration
public static string GetHierarchyAssetPath(GameObject gameObject, bool prefabOnly = false)
Parameters
| Type |
Name |
Description |
| GameObject |
gameObject |
|
| Boolean |
prefabOnly |
|
Returns
GetHierarchyPath(GameObject, Boolean)
Declaration
public static string GetHierarchyPath(GameObject gameObject, bool includeScene = true)
Parameters
| Type |
Name |
Description |
| GameObject |
gameObject |
|
| Boolean |
includeScene |
|
Returns