Class SceneProvider | Quick Search | 1.5.4
docs.unity3d.com
    Show / Hide Table of Contents

    Class SceneProvider

    Inheritance
    Object
    SearchProvider
    SceneProvider
    Inherited Members
    SearchProvider.CreateItem(String, Int32, String, String, Texture2D, Object)
    SearchProvider.CreateItem(String, String, String, Texture2D, Object)
    SearchProvider.MatchSearchGroups(SearchContext, String, Boolean)
    SearchProvider.avgTime
    SearchProvider.name
    SearchProvider.active
    SearchProvider.filterId
    SearchProvider.isExplicitProvider
    SearchProvider.showDetails
    SearchProvider.fetchLabel
    SearchProvider.fetchDescription
    SearchProvider.fetchThumbnail
    SearchProvider.fetchPreview
    SearchProvider.startDrag
    SearchProvider.trackSelection
    SearchProvider.fetchItems
    SearchProvider.fetchKeywords
    SearchProvider.subCategories
    SearchProvider.onEnable
    SearchProvider.onDisable
    SearchProvider.priority
    SearchProvider.isEnabledForContextualSearch
    Namespace: Unity.QuickSearch.Providers
    Syntax
    public class SceneProvider : SearchProvider

    Constructors

    SceneProvider(String, String, String)

    Declaration
    public SceneProvider(string providerId, string filterId, string displayName)
    Parameters
    Type Name Description
    String providerId
    String filterId
    String displayName

    Fields

    m_HierarchyChanged

    Declaration
    protected bool m_HierarchyChanged
    Field Value
    Type Description
    Boolean

    Properties

    buildKeywordComponents

    Declaration
    protected Func<GameObject, string[]> buildKeywordComponents { get; set; }
    Property Value
    Type Description
    Func<GameObject, String[]>

    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
    Type Description
    IEnumerable<SearchAction>

    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
    Type Description
    String

    GetHierarchyPath(GameObject, Boolean)

    Declaration
    public static string GetHierarchyPath(GameObject gameObject, bool includeScene = true)
    Parameters
    Type Name Description
    GameObject gameObject
    Boolean includeScene
    Returns
    Type Description
    String
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023