文档

Unity Engine


User Manual

Script Reference

Unity Engine


GetEnumerator()

Allows traversing the results of the query with foreach without creating GC allocations.
阅读时间1 分钟最后更新于 1 个月前

Definition

public UQueryState<T>.Enumerator GetEnumerator()

Returns

Type

Description

EnumeratorA UQueryState<T>.Enumerator instance configured to traverse the results.