ドキュメント

Unity Engine

Unity Engine

TryGetNode(int, out AccessibilityNode)

Tries to get the node in this hierarchy that has the given ID.
読み終わるまでの所要時間 1 分最終更新 2ヶ月前

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

boolReturns true if a node is found and false otherwise.