GetEnumerator()
Allows traversing the results of the query with foreach without creating GC allocations.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public UQueryState<T>.Enumerator GetEnumerator()
Returns
Type | Description |
|---|---|
| Enumerator | A UQueryState<T>.Enumerator instance configured to traverse the results. |