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<SceneProvider.GOD, GameObject[], string> buildKeywordComponents { get; set; }
Property Value
componentsById
Declaration
protected Dictionary<int, string> componentsById { get; set; }
Property Value
fetchGameObjects
Declaration
protected Func<GameObject[]> fetchGameObjects { get; set; }
Property Value
| Type |
Description |
| Func<GameObject[]> |
|
gods
Declaration
protected SceneProvider.GOD[] gods { get; set; }
Property Value
indexer
Declaration
protected SceneProvider.SceneSearchIndexer indexer { get; set; }
Property Value
patternMatchCount
Declaration
protected Dictionary<int, int> patternMatchCount { get; set; }
Property Value
Methods
BuildComponents(GameObject)
Declaration
public static string BuildComponents(GameObject go)
Parameters
| Type |
Name |
Description |
| GameObject |
go |
|
Returns
BuildKeywordComponents(SceneProvider.GOD, GameObject[])
Declaration
protected string BuildKeywordComponents(SceneProvider.GOD descriptor, GameObject[] objects)
Parameters
Returns
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