기술 자료

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분최근 업데이트: 한 달 전

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.