AddNode(string, AccessibilityNode)
Creates a new AccessibilityNode with the given label and adds it to the hierarchy under the given parent.
Read time 1 minuteLast updated 6 days ago
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. |