Version: 2023.1

ToolAttribute.variantPriority

切换到手册
public int variantPriority ;

描述

Variant priority defines the order that tools are displayed when shown in a EditorToolAttribute.variantGroup dropdown.

Tools are sorted in ascending order, with the lowest values at the top of the list.

The default priority is ToolAttribute.defaultPriority.