Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


NativeQueue<T>.Enumerator

An enumerator over the values of a container.
Read time 1 minuteLast updated 9 days ago

Definition

public struct NativeQueue<T>.Enumerator : IEnumerator<T>, IEnumerator, IDisposable

Remarks

In an enumerator's initial state, NativeQueue<T>.Enumerator.Current is invalid. The first NativeQueue<T>.Enumerator.MoveNext call advances the enumerator to the first value.

Properties

Property

Description

CurrentThe current value.

Methods

Method

Description

DisposeDoes nothing.
MoveNextAdvances the enumerator to the next value.
ResetResets the enumerator to its initial state.