InspectorOrderAttribute Constructor

Declaration

public InspectorOrderAttribute(InspectorSort inspectorSort, InspectorSortDirection sortDirection);

Parameters

inspectorSort Defines if enum should be shown sorted by name or by value.
sortDirection Defines if enum should be shown in ascending or descending order.

Description

Default constructor initializes the attribute for enum to be shown sorted in UI dropdowns.


Did you find this page useful? Please give it a rating: