AddNode(string, AccessibilityNode)
Creates a new AccessibilityNode with the given label and adds it to the hierarchy under the given parent.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Accessibility
- Assembly: UnityEngine.AccessibilityModule
public AccessibilityNode AddNode(string label = null, AccessibilityNode parent = null)
Parameters
A label that succinctly describes the node.
The parent of the new node, or if the node should be placed at the root level.
nullReturns
Type | Description |
|---|---|
| AccessibilityNode | The node created and added to the accessibility hierarchy. |