UnsafeList<T>.Enumerator
An enumerator over the elements of a list.
阅读时间1 分钟最后更新于 2 个月前
Definition
- Type: Struct
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
- Implements: IEnumerator<T>, IEnumerator, IDisposable
public struct UnsafeList<T>.Enumerator : IEnumerator<T>, IEnumerator, IDisposable
Remarks
In an enumerator's initial state, UnsafeList<T>.Enumerator.Current is invalid. The first UnsafeList<T>.Enumerator.MoveNext call advances the enumerator to the first element of the list.
Properties
Property | Description |
|---|---|
| Current | The current element. |