docs.unity3d.com
    Show / Hide Table of Contents

    Class SelectionGroupToolAttribute

    Marks a method to be included as a SelectionGroup tool, which is enabled in the configuration dialog for a selection group.

    Inheritance
    Object
    Attribute
    SelectionGroupToolAttribute
    Namespace: Unity.SelectionGroups
    Syntax
    [AttributeUsage(AttributeTargets.Method)]
    public class SelectionGroupToolAttribute : Attribute, _Attribute

    Constructors

    SelectionGroupToolAttribute(String, String, String)

    Create the attribute with icon and text and descrption.

    Declaration
    public SelectionGroupToolAttribute(string icon, string text, string description)
    Parameters
    Type Name Description
    String icon
    String text
    String description

    Fields

    description

    The longer description of the tool.

    Declaration
    public string description
    Field Value
    Type Description
    String

    icon

    The icon used to represent the tool in the editor window.

    Declaration
    public string icon
    Field Value
    Type Description
    String

    text

    The short name for the tool.

    Declaration
    public string text
    Field Value
    Type Description
    String

    toolId

    An automatically generated unique ID for the tool

    Declaration
    public readonly string toolId
    Field Value
    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