FindAncestorUserData()
Searches up the hierarchy of this VisualElement and retrieves stored userData, if any is found.
阅读时间1 分钟最后更新于 1 个月前
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.