This version of Unity is unsupported.

VisualElement.FindCommonAncestor

Declaration

public UIElements.VisualElement FindCommonAncestor(UIElements.VisualElement other);

Description

Finds the lowest common ancestor between two VisualElements inside the VisualTree hierarchy.