文档

Unity Engine

Unity Engine

toolPriority

Tool priority defines the order that tools are displayed in within the Tools Overlay.
阅读时间1 分钟最后更新于 1 个月前

Definition

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.