Class SelectionGroupToolAttribute
Marks a method to be included as a SelectionGroup tool, which is enabled in the configuration dialog for a selection group.
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 |