FindCommonAncestor(VisualElement)
Finds the lowest common ancestor between two VisualElements inside the VisualTree hierarchy.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public VisualElement FindCommonAncestor(VisualElement other)
Parameters
Returns
Type | Description |
|---|---|
| VisualElement |