GetLowestCommonAncestor(AccessibilityNode, AccessibilityNode)
Retrieves the lowest common ancestor of two nodes in the hierarchy. The lowest common ancestor is the node that is the common node that both nodes share in their path to the root node of their branch in the hierarchy.
읽는 시간 1분최근 업데이트: 2달 전
Definition
- Type: Method
- Namespace: UnityEngine.Accessibility
- Assembly: UnityEngine.AccessibilityModule
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 |
|---|---|
| AccessibilityNode | The lowest common ancestor of the two given nodes, or |