Documentation

Unity Engine


Unity Engine


FindCommonAncestor(VisualElement)

Finds the lowest common ancestor between two VisualElements inside the VisualTree hierarchy.
Read time 1 minuteLast updated a month ago

Definition

public VisualElement FindCommonAncestor(VisualElement other)

Parameters

Returns

Type

Description

VisualElement