GetEnumerator()
Allows traversing the results of the query with foreach without creating GC allocations.
阅读时间1 分钟最后更新于 1 个月前
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. |