ドキュメント

Unity Engine

Unity Engine

TryGetChild(int, out ElementNode)

Tries to get a child VisualElementAssetReferenceTable.ElementNode by its authoring ID.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

TryGetChild(int, ElementNode)

public bool TryGetChild(int id, out VisualElementAssetReferenceTable.ElementNode elementNode)

Parameters

id

The authoring-id to find in the document.

elementNode

The found element node matching
id
.

Returns

Type

Description

bool
true
if an element with a matching authroing-id could be found; otherwise
false
.