SortByCategory<T>(List<T>)
Sorts a flat list of elements into a hierarchy of categories and leaf nodes.
Read time 1 minuteLast updated 21 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Categorization
- Assembly: UnityEditor.CoreModule
public static List<Node<T>> SortByCategory<T>(this List<T> list) where T : ICategorizable
Parameters
Returns
Type | Description |
|---|---|
| List<Node<T>> |