Class SelectionGroupToolAttribute
Marks a method to be included as a SelectionGroup tool, which is enabled in the configuration dialog for a selection group.
Inherited Members
Namespace: Unity.SelectionGroups.Editor
Syntax
[AttributeUsage(AttributeTargets.Method)]
public class SelectionGroupToolAttribute : Attribute, _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 |