Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

UQueryState<T0>.GetEnumerator

Declaration

public Enumerator<T> GetEnumerator();

Returns

Enumerator<T> A UQueryState_1.Enumerator instance configured to traverse the results.

Description

Allows traversing the results of the query with foreach without creating GC allocations.