docs.unity.cn
    Show / Hide Table of Contents

    Class SearcherItem

    Inheritance
    Object
    SearcherItem
    Namespace: UnityEditor.Searcher
    Syntax
    [PublicAPI]
    [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

    Synonyms

    Declaration
    public string[] Synonyms { get; set; }
    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 © 2020 Unity Technologies
    Generated by DocFX
    on 11 March 2021