Node(InfoAttribute, T)
Constructor of the node element with the given attribute.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Constructor
- Namespace: UnityEditor.Categorization
- Assembly: UnityEditor.CoreModule
public Node(InfoAttribute info, T data = default)
Parameters
Either ElementInfoAttribute for leaf nodes or CategoryInfoAttribute for category nodes.