Class SearchAction | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Class SearchAction

    Inheritance
    System.Object
    SearchAction
    Namespace: Unity.QuickSearch
    Syntax
    public class SearchAction

    Constructors

    SearchAction(String, GUIContent)

    Declaration
    public SearchAction(string type, GUIContent content)
    Parameters
    Type Name Description
    System.String type
    GUIContent content

    SearchAction(String, String, Texture2D, String)

    Declaration
    public SearchAction(string type, string name, Texture2D icon = null, string tooltip = null)
    Parameters
    Type Name Description
    System.String type
    System.String name
    Texture2D icon
    System.String tooltip

    Fields

    closeWindowAfterExecution

    Declaration
    public bool closeWindowAfterExecution
    Field Value
    Type Description
    System.Boolean

    content

    Declaration
    public GUIContent content
    Field Value
    Type Description
    GUIContent

    handler

    Declaration
    public ActionHandler handler
    Field Value
    Type Description
    ActionHandler

    isEnabled

    Declaration
    public EnabledHandler isEnabled
    Field Value
    Type Description
    EnabledHandler

    kContextualMenuAction

    Declaration
    public const string kContextualMenuAction = "context"
    Field Value
    Type Description
    System.String

    providerId

    Declaration
    public string providerId
    Field Value
    Type Description
    System.String

    Properties

    DisplayName

    Declaration
    public string DisplayName { get; }
    Property Value
    Type Description
    System.String

    Id

    Declaration
    public string Id { get; }
    Property Value
    Type Description
    System.String
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX