Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

VisualElement.FindCommonAncestor

Declaration

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

Description

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