This version of Unity is unsupported.

VisualElement.FindCommonAncestor

Declaration

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

Description

Finds the lowest commont ancestor between two VisualElements inside the VisualTree hierarchy