CreationToolsGroup
This class represents the creation tools group. Pass this class’s type to the ToolAttribute.group parameter to place your EditorTool button in the built-in creation tools group in the Tools overlay.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEditor.EditorTools
- Assembly: UnityEditor.CoreModule
[Icon("Icons/Toolbars/CreationToolsGroup.png")]public sealed class CreationToolsGroup
Remarks
Only tools that create new objects and/or data in the Scene View should be registered to this group.
Examples
using UnityEditor.EditorTools;// Register Editor Tool as a creation tool[EditorTool("Custom Creation Tool", group = typeof(CreationToolsGroup))]public class CustomCreationTool : EditorTool { }