toolPriority
Tool priority defines the order that tools are displayed in within the Tools Overlay.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEditor.EditorTools
- Assembly: UnityEditor.CoreModule
public int toolPriority { get; set; }
Remarks
Tools buttons are sorted in ascending order. The lowest values place tools at the left or top of the toolbar, depending on layout.
The default priority is ToolAttribute.defaultPriority.