Documentation

Unity Engine

Download Unity

Unity Engine

FindCommonAncestor(VisualElement)

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

Definition

public VisualElement FindCommonAncestor(VisualElement other)

Parameters

Returns

Type

Description

VisualElement