文档

Unity Engine

Unity Engine

UnsafeQueue<T>.Enumerator

An enumerator over the values of a container.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

In an enumerator's initial state, UnsafeQueue<T>.Enumerator.Current is invalid. The first UnsafeQueue<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.