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
    SelectionGroupToolAttribute
    Namespace: Unity.SelectionGroups.Editor
    Syntax
    public class SelectionGroupToolAttribute : Attribute

    Constructors

    SelectionGroupToolAttribute(String, String, Int32)

    Create the attribute with icon and text and descrption.

    Declaration
    public SelectionGroupToolAttribute(string icon, string description, int toolId)
    Parameters
    Type Name Description
    String icon
    String description
    Int32 toolId

    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

    toolId

    Unique ID for the tool.

    Declaration
    public readonly int toolId
    Field Value
    Type Description
    Int32
    Back to top
    Terms of use
    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