Class SearchAction | Package Manager UI website
docs.unity3d.com
    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
    In This Article
    • Constructors
      • SearchAction(String, GUIContent)
      • SearchAction(String, String, Texture2D, String)
    • Fields
      • closeWindowAfterExecution
      • content
      • handler
      • isEnabled
      • kContextualMenuAction
      • providerId
    • Properties
      • DisplayName
      • Id
    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