기술 자료

Unity Engine

Unity Engine

TryGetChild(int, out ElementNode)

Tries to get a child VisualElementAssetReferenceTable.ElementNode by its authoring ID.
읽는 시간 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
.