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
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 |