FindAncestorUserData()
Searches up the hierarchy of this VisualElement and retrieves stored userData, if any is found.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public object FindAncestorUserData()
Returns
Type | Description |
|---|---|
| Object |
Remarks
This ignores the current userData and returns the first parent's non-null userData.