Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

public AccessibilityNode AddNode(string label = null, AccessibilityNode parent = null)

Parameters

label

A label that succinctly describes the node.

The parent of the new node, or
null
if the node should be placed at the root level.

Returns

Type

Description

AccessibilityNodeThe node created and added to the accessibility hierarchy.