Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TryGetNode(int, out AccessibilityNode)

Tries to retrieve the AccessibilityNode with the given ID in the hierarchy.
Read time 1 minuteLast updated 6 days ago

Definition

TryGetNode(int, AccessibilityNode)

public bool TryGetNode(int id, out AccessibilityNode node)

Parameters

id

The ID of the node to retrieve.

The valid node with the associated ID, or
null
if no such node exists in this hierarchy.

Returns

Type

Description

bool
true
if a node is found and
false
otherwise.