variantPriority
The variant priority defines the order that tools are displayed in when they are displayed in a ToolAttribute.variantGroup dropdown.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor.EditorTools
- Assembly: UnityEditor
public int variantPriority { get; set; }
Remarks
Tools are sorted in ascending order, with the lowest values at the top of the list.
The default priority is ToolAttribute.defaultPriority.