TryGetChild(int, out ElementNode)
Tries to get a child VisualElementAssetReferenceTable.ElementNode by its authoring ID.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
TryGetChild(int, ElementNode)
public bool TryGetChild(int id, out VisualElementAssetReferenceTable.ElementNode elementNode)
Parameters
The authoring-id to find in the document.
The found element node matching .
idReturns
Type | Description |
|---|---|
| bool | |