Class SearcherItem | Searcher | 4.0.9
docs.unity3d.com
    Show / Hide Table of Contents

    Class SearcherItem

    Inheritance
    Object
    SearcherItem
    Namespace: UnityEditor.Searcher
    Syntax
    [Serializable]
    public class SearcherItem

    Constructors

    SearcherItem(String, String, List<SearcherItem>)

    Declaration
    public SearcherItem(string name, string help = "", List<SearcherItem> children = null)
    Parameters
    Type Name Description
    String name
    String help
    List<SearcherItem> children

    Properties

    Children

    Declaration
    public List<SearcherItem> Children { get; }
    Property Value
    Type Description
    List<SearcherItem>

    Database

    Declaration
    public SearcherDatabaseBase Database { get; }
    Property Value
    Type Description
    SearcherDatabaseBase

    Depth

    Declaration
    public int Depth { get; }
    Property Value
    Type Description
    Int32

    HasChildren

    Declaration
    public bool HasChildren { get; }
    Property Value
    Type Description
    Boolean

    Help

    Declaration
    public string Help { get; }
    Property Value
    Type Description
    String

    Id

    Declaration
    public int Id { get; }
    Property Value
    Type Description
    Int32

    Name

    Declaration
    public virtual string Name { get; }
    Property Value
    Type Description
    String

    Parent

    Declaration
    public SearcherItem Parent { get; }
    Property Value
    Type Description
    SearcherItem

    Path

    Declaration
    public string Path { get; }
    Property Value
    Type Description
    String

    Methods

    AddChild(SearcherItem)

    Declaration
    public void AddChild(SearcherItem child)
    Parameters
    Type Name Description
    SearcherItem child

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()
    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