ドキュメント

Unity Engine

Unity Engine

GetLowestCommonAncestor(AccessibilityNode, AccessibilityNode)

Retrieves the lowest common ancestor of two nodes in the accessibility hierarchy.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public AccessibilityNode GetLowestCommonAncestor(AccessibilityNode firstNode, AccessibilityNode secondNode)

Parameters

The first node to find the lowest common ancestor of.

The second node to find the lowest common ancestor of.

Returns

Type

Description

AccessibilityNodeThe lowest common ancestor of the two given nodes, or
null
if they don't have a common ancestor.

Remarks

The lowest common ancestor is the node that both nodes share in their path to the root node of their branch in the hierarchy.