Class BrushToolsAttribute
An attribute for GridBrushBase which specifies the TilemapEditorTool types which can work with the GridBrushBase.
Implements
Inherited Members
Namespace: UnityEditor.Tilemaps
Assembly: Unity.2D.Tilemap.Editor.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class BrushToolsAttribute : Attribute, _Attribute
Constructors
BrushToolsAttribute(params Type[])
Constructor for BrushToolsAttribute. Specify the TilemapEditorTool types which can work with the GridBrushBase.
Declaration
public BrushToolsAttribute(params Type[] tools)
Parameters
| Type | Name | Description |
|---|---|---|
| Type[] | tools | An array of TilemapEditorTool types which can work with the GridBrushBase. |