ドキュメント

Unity Engine

Unity Engine

variantPriority

The variant priority defines the order that tools are displayed in when they are displayed in a ToolAttribute.variantGroup dropdown.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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.