ドキュメント

Unity Engine

Unity Engine

SetSorting(int, bool)

Sets the primary sorting column and its sorting order.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public void SetSorting(int columnIndex, bool sortAscending)

Parameters

columnIndex

Column to sort.

sortAscending

Sorting order for the column specified.

Remarks

This function sets the primary sorting column and its sorting order. It also triggers the MultiColumnHeader.sortingChanged event if the sorting state changes. You can set the columnIndex to -1 to clear the sort.