Property |
Description |
allowPersistentTargets | Allows the tool to target persistent objects. This is only compatible with ScriptableObjects. When you develop tools that target persistent objects, let users know whether they're editing an in-scene or a persistent object. |
displayName | The name that displays in menus. |
group | Tool groups place logically similar tools under a single header in the Tools Overlay. |
targetContext | If provided, the EditorTool will only be made available when the ToolManager.activeContextType is equal to targetContext. |
targetType | Set to the type that this EditorTool or EditorToolContext can edit. Set to null if the tool is not specific to a Component and should be available at any time. |
toolPriority | Tool priority defines the order that tools are displayed in within the Tools Overlay. |
variantGroup | Tool variants are used to group logically similar tools into a single button in the Tools Overlay. |
variantPriority | The variant priority defines the order that tools are displayed in when they are displayed in a ToolAttribute.variantGroup dropdown. |